public class ScalarElementBinding extends Object implements ElementBinding
Constructor and Description |
---|
ScalarElementBinding(Converter converter) |
Modifier and Type | Method and Description |
---|---|
List<com.datastax.driver.core.schemabuilder.SchemaStatement> |
describe() |
com.datastax.driver.core.DataType |
getElementDataType() |
Class<?> |
getElementType() |
Object |
toColumnValue(Object facetElementValue) |
Object |
toFacetValue(Object columnValue,
PojoQueryContext context) |
void |
verifySchema(com.datastax.driver.core.KeyspaceMetadata keyspaceMetadata) |
void |
visitChild(Object facetElementValue,
java.util.function.Predicate<Facet> predicate,
PojoVisitor visitor) |
public ScalarElementBinding(Converter converter)
public List<com.datastax.driver.core.schemabuilder.SchemaStatement> describe()
describe
in interface ElementBinding
public com.datastax.driver.core.DataType getElementDataType()
getElementDataType
in interface ElementBinding
public Class<?> getElementType()
getElementType
in interface ElementBinding
public Object toColumnValue(Object facetElementValue)
toColumnValue
in interface ElementBinding
public Object toFacetValue(Object columnValue, PojoQueryContext context)
toFacetValue
in interface ElementBinding
public void verifySchema(com.datastax.driver.core.KeyspaceMetadata keyspaceMetadata)
verifySchema
in interface ElementBinding
public void visitChild(Object facetElementValue, java.util.function.Predicate<Facet> predicate, PojoVisitor visitor)
visitChild
in interface ElementBinding
Copyright © 2012-2016 Savoir Technologies, Inc.. All Rights Reserved.