20 SegmentInfo(
const String& name, int32_t docCount,
const DirectoryPtr& dir,
bool isCompoundFile,
bool hasSingleNormFile);
23 bool hasSingleNormFile, int32_t docStoreOffset,
const String& docStoreSegment,
24 bool docStoreIsCompoundFile,
bool hasProx);
37 static const int32_t NO;
38 static const int32_t
YES;
99 void setDiagnostics(MapStringString diagnostics);
100 MapStringString getDiagnostics();
102 void setNumFields(int32_t numFields);
105 int64_t sizeInBytes();
108 void advanceDelGen();
113 String getDelFileName();
117 bool hasSeparateNorms(int32_t fieldNumber);
120 bool hasSeparateNorms();
124 void advanceNormGen(int32_t fieldIndex);
128 String getNormFileName(int32_t number);
132 void setUseCompoundFile(
bool isCompoundFile);
135 bool getUseCompoundFile();
137 int32_t getDelCount();
138 void setDelCount(int32_t delCount);
139 int32_t getDocStoreOffset();
140 bool getDocStoreIsCompoundFile();
141 void setDocStoreIsCompoundFile(
bool v);
142 String getDocStoreSegment();
143 void setDocStoreOffset(int32_t offset);
144 void setDocStore(int32_t offset,
const String& segment,
bool isCompoundFile);
149 void setHasProx(
bool hasProx);
162 virtual int32_t hashCode();