public class PojoValueField extends PojoField
| Constructor and Description |
|---|
PojoValueField(Element el,
Class pojoCls)
Constructs Ignite cache value field descriptor.
|
PojoValueField(PropertyDescriptor desc)
Constructs Ignite cache value field descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnDDL() |
String |
getIndexDDL(String keyspace,
String tbl)
Returns DDL for the field secondary index.
|
protected void |
init(QuerySqlField sqlField)
Initializes field info from annotation.
|
boolean |
isIndexed()
Indicates if secondary index should be created for the field.
|
calculatedField, getColumn, getJavaClass, getName, getValueFromObject, init, setValueFromRowpublic PojoValueField(Element el, Class pojoCls)
el - field descriptor xml configuration element.pojoCls - field java classpublic PojoValueField(PropertyDescriptor desc)
desc - field property descriptor.public String getColumnDDL()
getColumnDDL in class PojoFieldpublic boolean isIndexed()
public String getIndexDDL(String keyspace, String tbl)
keyspace - Cassandra keyspace where index should be created.tbl - Cassandra table for which secondary index should be created.protected void init(QuerySqlField sqlField)
init in class PojoFieldsqlField - QuerySqlField annotation.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.12 Release Date : October 2 2017