public class PojoElementBinding extends Object implements ElementBinding
Constructor and Description |
---|
PojoElementBinding(PojoBinding<?> pojoBinding,
String tableName) |
Modifier and Type | Method and Description |
---|---|
void |
describe(com.savoirtech.hecate.core.schema.Schema schema) |
com.datastax.oss.driver.api.core.type.DataType |
getElementDataType() |
Class<?> |
getElementType() |
Object |
toColumnValue(Object facetElementValue) |
Object |
toFacetValue(Object columnValue,
PojoQueryContext context) |
void |
verifySchema(com.datastax.oss.driver.api.core.metadata.schema.KeyspaceMetadata keyspaceMetadata) |
void |
visitChild(Object facetElementValue,
Predicate<Facet> predicate,
PojoVisitor visitor) |
public PojoElementBinding(PojoBinding<?> pojoBinding, String tableName)
public void describe(com.savoirtech.hecate.core.schema.Schema schema)
describe
in interface ElementBinding
public com.datastax.oss.driver.api.core.type.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.oss.driver.api.core.metadata.schema.KeyspaceMetadata keyspaceMetadata)
verifySchema
in interface ElementBinding
public void visitChild(Object facetElementValue, Predicate<Facet> predicate, PojoVisitor visitor)
visitChild
in interface ElementBinding
Copyright © 2012–2020 Savoir Technologies, Inc.. All rights reserved.