Package org.elasticsearch.index.mapper
Class BinaryFieldMapper.CustomBinaryDocValuesField
- java.lang.Object
-
- org.elasticsearch.index.mapper.CustomDocValuesField
-
- org.elasticsearch.index.mapper.BinaryFieldMapper.CustomBinaryDocValuesField
-
- All Implemented Interfaces:
IndexableField
- Enclosing class:
- BinaryFieldMapper
public static class BinaryFieldMapper.CustomBinaryDocValuesField extends CustomDocValuesField
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.index.mapper.CustomDocValuesField
TYPE
-
-
Constructor Summary
Constructors Constructor Description CustomBinaryDocValuesField(String name, byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(byte[] bytes)BytesRefbinaryValue()Non-null if this field has a binary value-
Methods inherited from class org.elasticsearch.index.mapper.CustomDocValuesField
fieldType, name, numericValue, readerValue, stringValue, tokenStream
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.lucene.index.IndexableField
getCharSequenceValue
-
-
-
-
Constructor Detail
-
CustomBinaryDocValuesField
public CustomBinaryDocValuesField(String name, byte[] bytes)
-
-
Method Detail
-
add
public void add(byte[] bytes)
-
binaryValue
public BytesRef binaryValue()
Description copied from interface:IndexableFieldNon-null if this field has a binary value
-
-