Property | Type | Description | |
---|---|---|---|
Dir | Directory | ||
Name | string |
Method | Description | |
---|---|---|
AddFile ( string file ) : void |
Add this file to the set of files written for this segment.
|
|
AddFiles ( ICollection |
Add these files to the set of files written for this segment.
|
|
Equals ( object obj ) : bool |
We consider another SegmentInfo instance equal if it has the same dir and same name.
|
|
GetHashCode ( ) : int | ||
SegmentInfo ( Directory dir, string version, string name, int docCount, bool isCompoundFile, Codec codec, string>.IDictionary |
Construct a new complete SegmentInfo instance from input. Note: this is public only to allow access from the codecs package.
|
|
SegmentInfo ( Directory dir, string version, string name, int docCount, bool isCompoundFile, Codec codec, string>.IDictionary |
Construct a new complete SegmentInfo instance from input. Note: this is public only to allow access from the codecs package.
|
|
ToString ( ) : string |
Return all files referenced by this SegmentInfo.
|
|
ToString ( Directory dir, int delCount ) : string |
Used for debugging. Format may suddenly change. Current format looks like
|
Method | Description | |
---|---|---|
Attributes ( ) : string>.IDictionary |
||
CheckFileNames ( ICollection |
||
GetAttribute ( string key ) : string | ||
HasSeparateNorms ( ) : bool | ||
PutAttribute ( string key, string value ) : string |
public SegmentInfo ( Directory dir, string version, string name, int docCount, bool isCompoundFile, Codec codec, string>.IDictionary |
||
dir | Directory | |
version | string | |
name | string | |
docCount | int | |
isCompoundFile | bool | |
codec | Codec | |
diagnostics | string>.IDictionary | |
return | System |
public SegmentInfo ( Directory dir, string version, string name, int docCount, bool isCompoundFile, Codec codec, string>.IDictionary |
||
dir | Directory | |
version | string | |
name | string | |
docCount | int | |
isCompoundFile | bool | |
codec | Codec | |
diagnostics | string>.IDictionary | |
attributes | string>.IDictionary | |
return | System |
public ToString ( Directory dir, int delCount ) : string | ||
dir | Directory | |
delCount | int | |
return | string |