public class Segment extends Object implements Streamable
| 修飾子とタイプ | フィールドと説明 |
|---|---|
boolean |
committed |
Boolean |
compound |
int |
delDocCount |
int |
docCount |
long |
memoryInBytes |
String |
mergeId |
org.apache.lucene.util.Accountable |
ramTree |
boolean |
search |
long |
sizeInBytes |
org.apache.lucene.util.Version |
version |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(Object o) |
int |
getDeletedDocs() |
long |
getGeneration() |
long |
getMemoryInBytes()
Estimation of the memory usage used by a segment.
|
String |
getMergeId()
If set, a string representing that the segment is part of a merge, with the value representing the
group of segments that represent this merge.
|
String |
getName() |
int |
getNumDocs() |
ByteSizeValue |
getSize() |
long |
getSizeInBytes() |
org.apache.lucene.util.Version |
getVersion() |
int |
hashCode() |
boolean |
isCommitted() |
Boolean |
isCompound() |
boolean |
isSearch() |
void |
readFrom(StreamInput in) |
static Segment |
readSegment(StreamInput in) |
String |
toString() |
void |
writeTo(StreamOutput out) |
public boolean committed
public boolean search
public long sizeInBytes
public int docCount
public int delDocCount
public org.apache.lucene.util.Version version
public Boolean compound
public String mergeId
public long memoryInBytes
public org.apache.lucene.util.Accountable ramTree
public Segment(String name)
public String getName()
public long getGeneration()
public boolean isCommitted()
public boolean isSearch()
public int getNumDocs()
public int getDeletedDocs()
public ByteSizeValue getSize()
public long getSizeInBytes()
public org.apache.lucene.util.Version getVersion()
@Nullable public String getMergeId()
public long getMemoryInBytes()
public static Segment readSegment(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionCopyright © 2009–2016. All rights reserved.