public abstract class SingleColumnMapper<K extends SingleColumnMapper<K>> extends Mapper<K>
| Modifier and Type | Field and Description |
|---|---|
protected String |
column
The name of the column to be mapped.
|
protected Boolean |
indexed
If the field must be indexed.
|
protected Boolean |
sorted
If the field must be sorted.
|
| Constructor and Description |
|---|
SingleColumnMapper() |
| Modifier and Type | Method and Description |
|---|---|
K |
column(String column)
Sets the name of the Cassandra column to be mapped.
|
K |
indexed(Boolean indexed)
Sets if the field supports searching.
|
K |
sorted(Boolean sorted)
Sets if the field supports sorting.
|
validatedall, bigDecimalMapper, bigIntegerMapper, bitemporal, bitemporalMapper, blobMapper, bool, booleanMapper, build, classpathAnalyzer, contains, dateMapper, dateRange, dateRangeMapper, doubleMapper, field, floatMapper, fuzzy, geoBBox, geoDistance, geoDistanceSortField, geoPointMapper, index, index, inetMapper, integerMapper, longMapper, lucene, match, none, phrase, prefix, range, regexp, schema, search, snowballAnalyzer, stringMapper, textMapper, toString, uuidMapper, wildcardprotected Boolean indexed
protected Boolean sorted
protected String column
public final K indexed(Boolean indexed)
indexed - if the field supports searching.public final K sorted(Boolean sorted)
sorted - if the field supports sorting.Copyright © 2016. All rights reserved.