public class ElasticsearchBooleanBridge extends Object implements EncodingBridge, TwoWayStringBridge, IgnoreAnalyzerBridge
String
.
Behaves the same as Lucene's BooleanBridge, except the format of indexNullAs strings is checked, so one cannot use a random string as null token.
Modifier and Type | Field and Description |
---|---|
static ElasticsearchBooleanBridge |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
NullMarker |
createNullMarker(String indexNullAs) |
NumericFieldSettingsDescriptor.NumericEncodingType |
getEncodingType() |
String |
objectToString(Object object) |
protected Boolean |
parseIndexNullAs(String indexNullAs) |
Boolean |
stringToObject(String stringValue) |
public static final ElasticsearchBooleanBridge INSTANCE
public Boolean stringToObject(String stringValue)
stringToObject
in interface TwoWayStringBridge
public String objectToString(Object object)
objectToString
in interface StringBridge
public NumericFieldSettingsDescriptor.NumericEncodingType getEncodingType()
getEncodingType
in interface EncodingBridge
protected Boolean parseIndexNullAs(String indexNullAs) throws IllegalArgumentException
IllegalArgumentException
public NullMarker createNullMarker(String indexNullAs) throws IllegalArgumentException
createNullMarker
in interface EncodingBridge
IllegalArgumentException
Copyright © 2006–2017 Hibernate. All rights reserved.