|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.query.lucene.IndexFormatVersion
public class IndexFormatVersion
This class indicates the lucene index format that is used.
PROPERTIES_SET field which contains all property names of
a node. This speeds up queries that check the existence of a property.PROPERTY_LENGTHS, LOCAL_NAME and
NAMESPACE_URI. Furthermore a Payload is added to
PROPERTIES fields to indicate the property type.
| Field Summary | |
|---|---|
static IndexFormatVersion |
V1
V1 is the index format for Jackrabbit releases 1.0 to 1.3.x. |
static IndexFormatVersion |
V2
V2 is the index format for Jackrabbit releases 1.4.x |
static IndexFormatVersion |
V3
V3 is the index format for Jackrabbit releases >= 1.5 |
| Method Summary | |
|---|---|
int |
getVersion()
Returns the index format version |
static IndexFormatVersion |
getVersion(org.apache.lucene.index.IndexReader indexReader)
|
boolean |
isAtLeast(IndexFormatVersion version)
Returns true if this version is at least as high as the
given version. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final IndexFormatVersion V1
public static final IndexFormatVersion V2
public static final IndexFormatVersion V3
| Method Detail |
|---|
public int getVersion()
public boolean isAtLeast(IndexFormatVersion version)
true if this version is at least as high as the
given version.
version - the other version to compare.
true if this version is at least as high as the
provided; false otherwise.public String toString()
toString in class Objectpublic static IndexFormatVersion getVersion(org.apache.lucene.index.IndexReader indexReader)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||