public class IndexedEntityIdFieldImpl extends Object implements IndexedEntityIdField
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected EnumSet<IndexUtils.FieldProperties> |
properties |
| Modifier | Constructor and Description |
|---|---|
protected |
IndexedEntityIdFieldImpl(String name,
IndexUtils.FieldProperties... properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToDocument(org.apache.lucene.document.Document document,
T value) |
org.apache.lucene.search.Query |
createQuery(Long value) |
org.apache.lucene.index.Term |
createTerm(org.apache.lucene.document.Document document) |
org.apache.lucene.index.Term |
createTerm(Long value) |
String |
getFieldId() |
protected org.apache.lucene.document.Field.Store |
getStorageFlag() |
Long |
getValue(org.apache.lucene.document.Document document) |
com.google.common.base.Function<org.apache.lucene.document.Document,T> |
getValueFunction() |
void |
removeFromDocument(org.apache.lucene.document.Document document) |
protected Long |
valueFromField(org.apache.lucene.index.IndexableField field) |
protected Collection<org.apache.lucene.index.IndexableField> |
valueToField(Long value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddToDocument, createTerm, getFieldId, getValueFunction, removeFromDocumentprotected final String name
protected final EnumSet<IndexUtils.FieldProperties> properties
protected IndexedEntityIdFieldImpl(@NotNull
String name,
IndexUtils.FieldProperties... properties)
@NotNull public Long getValue(@NotNull org.apache.lucene.document.Document document)
getValue in interface IndexedEntityField<Long>getValue in interface IndexedEntityIdField@Nullable protected Long valueFromField(@NotNull org.apache.lucene.index.IndexableField field)
@NotNull protected Collection<org.apache.lucene.index.IndexableField> valueToField(@NotNull Long value)
@NotNull
public org.apache.lucene.index.Term createTerm(@NotNull
Long value)
createTerm in interface IndexedEntityField<Long>@NotNull
public org.apache.lucene.search.Query createQuery(@NotNull
Long value)
createQuery in interface IndexedEntityField<Long>createQuery in interface IndexedEntityIdField@NotNull public String getFieldId()
getFieldId in interface IndexedEntityField<T>public void addToDocument(@NotNull
org.apache.lucene.document.Document document,
@Nullable
T value)
addToDocument in interface IndexedEntityField<T>public void removeFromDocument(@NotNull
org.apache.lucene.document.Document document)
removeFromDocument in interface IndexedEntityField<T>@NotNull
public org.apache.lucene.index.Term createTerm(@NotNull
org.apache.lucene.document.Document document)
createTerm in interface IndexedEntityField<T>@NotNull public com.google.common.base.Function<org.apache.lucene.document.Document,T> getValueFunction()
getValueFunction in interface IndexedEntityField<T>protected org.apache.lucene.document.Field.Store getStorageFlag()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.