public enum BitmapDocumentFormat extends Enum<BitmapDocumentFormat>
| Modifier and Type | Field and Description |
|---|---|
static String |
LABEL |
static String |
RANGE |
| Modifier and Type | Method and Description |
|---|---|
void |
addLabelAndSearchFields(org.apache.lucene.document.Document document,
long label,
Bitmap bitmap) |
void |
addRangeValuesField(org.apache.lucene.document.Document doc,
long range) |
BitmapFormat |
bitmapFormat() |
boolean |
isLabelBitmapField(org.apache.lucene.index.IndexableField field) |
boolean |
isRangeField(org.apache.lucene.index.IndexableField field) |
boolean |
isRangeOrLabelField(org.apache.lucene.index.IndexableField field) |
org.apache.lucene.index.IndexableField |
labelField(long key,
Bitmap value) |
org.apache.lucene.index.IndexableField |
labelField(long key,
long bitmap) |
long |
labelId(org.apache.lucene.index.IndexableField field) |
org.apache.lucene.search.Query |
labelQuery(long labelId) |
org.apache.lucene.index.IndexableField |
labelSearchField(long label) |
long |
mapOf(org.apache.lucene.document.Document doc,
long labelId) |
org.apache.lucene.index.IndexableField |
rangeField(long range) |
long |
rangeOf(org.apache.lucene.document.Document doc) |
long |
rangeOf(org.apache.lucene.index.IndexableField field) |
org.apache.lucene.search.Query |
rangeQuery(long range) |
org.apache.lucene.index.Term |
rangeTerm(org.apache.lucene.document.Document document) |
org.apache.lucene.index.Term |
rangeTerm(long range) |
Bitmap |
readBitmap(org.apache.lucene.index.IndexableField field) |
String |
toString() |
static BitmapDocumentFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BitmapDocumentFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BitmapDocumentFormat _32
public static final BitmapDocumentFormat _64
public static final String RANGE
public static final String LABEL
public static BitmapDocumentFormat[] values()
for (BitmapDocumentFormat c : BitmapDocumentFormat.values()) System.out.println(c);
public static BitmapDocumentFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<BitmapDocumentFormat>public BitmapFormat bitmapFormat()
public long rangeOf(org.apache.lucene.document.Document doc)
public long rangeOf(org.apache.lucene.index.IndexableField field)
public long mapOf(org.apache.lucene.document.Document doc,
long labelId)
public org.apache.lucene.search.Query labelQuery(long labelId)
public org.apache.lucene.search.Query rangeQuery(long range)
public org.apache.lucene.index.IndexableField rangeField(long range)
public void addRangeValuesField(org.apache.lucene.document.Document doc,
long range)
public org.apache.lucene.index.IndexableField labelField(long key,
long bitmap)
public void addLabelAndSearchFields(org.apache.lucene.document.Document document,
long label,
Bitmap bitmap)
public org.apache.lucene.index.IndexableField labelSearchField(long label)
public org.apache.lucene.index.IndexableField labelField(long key,
Bitmap value)
public long labelId(org.apache.lucene.index.IndexableField field)
public org.apache.lucene.index.Term rangeTerm(long range)
public org.apache.lucene.index.Term rangeTerm(org.apache.lucene.document.Document document)
public boolean isRangeOrLabelField(org.apache.lucene.index.IndexableField field)
public boolean isRangeField(org.apache.lucene.index.IndexableField field)
public boolean isLabelBitmapField(org.apache.lucene.index.IndexableField field)
public Bitmap readBitmap(org.apache.lucene.index.IndexableField field)
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.