25 static const int32_t COPY_BUFFER_SIZE;
31 virtual void writeByte(uint8_t b) = 0;
37 virtual void writeBytes(
const uint8_t* b, int32_t offset, int32_t length) = 0;
40 virtual void flush() = 0;
43 virtual void close() = 0;
46 virtual int64_t getFilePointer() = 0;
50 virtual void seek(int64_t pos) = 0;
53 virtual int64_t length() = 0;
60 void writeBytes(
const uint8_t* b, int32_t length);
64 void writeInt(int32_t i);
69 void writeVInt(int32_t i);
73 void writeLong(int64_t i);
78 void writeVLong(int64_t i);
82 void writeString(
const String& s);
89 void writeChars(
const String& s, int32_t start, int32_t length);
99 void setLength(int64_t length);
103 void writeStringStringMap(MapStringString map);
Base class for all Lucene classes.
Definition: LuceneObject.h:31
boost::shared_ptr< IndexInput > IndexInputPtr
Definition: LuceneTypes.h:493
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
Abstract base class for output to a file in a Directory. A random-access output stream. Used for all Lucene index output operations.
Definition: IndexOutput.h:18
ByteArray copyBuffer
Definition: IndexOutput.h:26