protected static class QueryMapper.Field extends Object
Modifier and Type | Field and Description |
---|---|
protected ColumnName |
name |
Modifier and Type | Method and Description |
---|---|
ColumnName |
getMappedKey()
Returns the key to be used in the mapped document eventually.
|
Optional<CassandraPersistentProperty> |
getProperty()
Returns the underlying
CassandraPersistentProperty backing the field. |
QueryMapper.Field |
with(ColumnName name)
Returns a new
QueryMapper.Field with the given name. |
protected final ColumnName name
public QueryMapper.Field with(ColumnName name)
QueryMapper.Field
with the given name.name
- must not be null or empty.QueryMapper.Field
with the given name.public Optional<CassandraPersistentProperty> getProperty()
CassandraPersistentProperty
backing the field. For path traversals this will be
the property that represents the value to handle. This means it'll be the leaf property for plain paths or the
association property in case we refer to an association somewhere in the path.public ColumnName getMappedKey()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.