Class ColumnFieldAdapter
java.lang.Object
org.apache.lucene.document.Field
org.apache.lucene.document.column.ColumnFieldAdapter
- All Implemented Interfaces:
IndexableField
Lightweight adapter that presents a
Column's current cursor value as an IndexableField so it can be fed through the row-oriented indexing pass (stored fields and term
inversion). Holds a fresh tuple cursor over the underlying column; one instance is created per
column per batch.- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.document.Field
Field.Store -
Field Summary
Fields inherited from class org.apache.lucene.document.Field
fieldsData, name, type -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnFieldAdapterReturns an adapter for the given column, dispatching on its concrete type.abstract intnextDoc()Advances to the next batch-local doc-id with a value.Methods inherited from class org.apache.lucene.document.Field
binaryValue, fieldType, getCharSequenceValue, invertableType, name, numericValue, readerValue, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setStringValue, setTokenStream, storedValue, stringValue, tokenStream, tokenStreamValue, toString
-
Method Details
-
create
Returns an adapter for the given column, dispatching on its concrete type. -
nextDoc
public abstract int nextDoc()Advances to the next batch-local doc-id with a value.
-