21 SegmentInfo(
const String& name, int32_t docCount,
DirectoryPtr dir,
bool isCompoundFile,
bool hasSingleNormFile);
24 bool hasSingleNormFile, int32_t docStoreOffset,
const String& docStoreSegment,
25 bool docStoreIsCompoundFile,
bool hasProx);
38 static const int32_t NO;
39 static const int32_t
YES;
100 void setDiagnostics(MapStringString diagnostics);
101 MapStringString getDiagnostics();
103 void setNumFields(int32_t numFields);
106 int64_t sizeInBytes();
109 void advanceDelGen();
114 String getDelFileName();
118 bool hasSeparateNorms(int32_t fieldNumber);
121 bool hasSeparateNorms();
125 void advanceNormGen(int32_t fieldIndex);
129 String getNormFileName(int32_t number);
133 void setUseCompoundFile(
bool isCompoundFile);
136 bool getUseCompoundFile();
138 int32_t getDelCount();
139 void setDelCount(int32_t delCount);
140 int32_t getDocStoreOffset();
141 bool getDocStoreIsCompoundFile();
142 void setDocStoreIsCompoundFile(
bool v);
143 String getDocStoreSegment();
144 void setDocStoreOffset(int32_t offset);
145 void setDocStore(int32_t offset,
const String& segment,
bool isCompoundFile);
150 void setHasProx(
bool hasProx);
163 virtual int32_t hashCode();