public class ElasticsearchNullMarkerField extends AbstractMarkerField implements NullMarker
Field.Index, Field.Store, Field.TermVector
boost, fieldsData, name, tokenStream, type
Constructor and Description |
---|
ElasticsearchNullMarkerField(String name,
NullMarker nullMarker) |
Modifier and Type | Method and Description |
---|---|
Object |
nullEncoded()
This returns the actual value to be indexed in place of null.
|
String |
nullRepresentedAsString()
This is mostly a requirement for integration with other old-style
contracts which expect a strongly String based strategy.
|
binaryValue, boost, fieldType, name, numericValue, readerValue, setBoost, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setStringValue, setTokenStream, stringValue, tokenStream, tokenStreamValue, toString, translateFieldType
public ElasticsearchNullMarkerField(String name, NullMarker nullMarker)
public String nullRepresentedAsString()
NullMarker
nullRepresentedAsString
in interface NullMarker
public Object nullEncoded()
NullMarker
The returned value may be:
nullEncoded
in interface NullMarker
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved