public final class LeafMetaData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
createdVersionMajor |
private Version |
minVersion |
private Sort |
sort |
Constructor and Description |
---|
LeafMetaData(int createdVersionMajor,
Version minVersion,
Sort sort)
Expert: Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getCreatedVersionMajor()
Get the Lucene version that created this index.
|
Version |
getMinVersion()
Return the minimum Lucene version that contributed documents to this index,
or
null if this information is not available. |
Sort |
getSort()
Return the order in which documents from this index are sorted, or
null if documents are in no particular order. |
private final int createdVersionMajor
private final Version minVersion
private final Sort sort
public LeafMetaData(int createdVersionMajor, Version minVersion, Sort sort)
LeafReader
impls.public int getCreatedVersionMajor()
6
indicates that the created version is unknown.public Version getMinVersion()
null
if this information is not available.public Sort getSort()
null
if documents are in no particular order.