com.atlassian.bamboo.index.fields
Interface IndexedEntityField<T>
- All Known Subinterfaces:
- IndexedEntityDateField, IndexedEntityEnumField<T>, IndexedEntityIdField, IndexedEntityIntegerField, IndexedEntityLongField, IndexedEntityPlanResultKeyField, IndexedEntityTextField
- All Known Implementing Classes:
- IndexedEntityDateFieldImpl, IndexedEntityEnumFieldImpl, IndexedEntityIdFieldImpl, IndexedEntityIntegerFieldImpl, IndexedEntityLongFieldImpl, IndexedEntityPlanResultKeyFieldImpl, IndexedEntityTextFieldImpl
public interface IndexedEntityField<T>
getFieldId
@NotNull
String getFieldId()
getValue
@Nullable
T getValue(@NotNull
org.apache.lucene.document.Document document)
addToDocument
void addToDocument(@NotNull
org.apache.lucene.document.Document document,
@Nullable
T value)
removeFromDocument
void removeFromDocument(@NotNull
org.apache.lucene.document.Document document)
createTerm
@NotNull
org.apache.lucene.index.Term createTerm(@NotNull
T value)
createTerm
@NotNull
org.apache.lucene.index.Term createTerm(@NotNull
org.apache.lucene.document.Document document)
createQuery
@NotNull
org.apache.lucene.search.Query createQuery(@NotNull
T value)
getValueFunction
@NotNull
com.google.common.base.Function<org.apache.lucene.document.Document,T> getValueFunction()
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.