public interface SpannerPersistentProperty extends org.springframework.data.mapping.PersistentProperty<SpannerPersistentProperty>
PersistentProperty of a SpannerPersistentEntity
to be stored in a Google Cloud Spanner table.| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getColumnInnerType()
Gets the inner type of the column, which is meaningful for columns of type ARRAY in
Google Cloud Spanner.
|
String |
getColumnName()
Gets the name of the column in the Google Cloud Spanner table mapped to this property.
|
OptionalLong |
getMaxColumnLength()
Gets the maximum data length of the column if provided.
|
OptionalInt |
getPrimaryKeyOrder()
Gets the order of this column if it is part of the table's primary key.
|
boolean |
isMapped()
True if property corresponds to a column a Cloud Spanner
table or child entities stored in Cloud Spanner.
|
findAnnotation, findPropertyOrOwnerAnnotation, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getPersistentEntityTypes, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getSetter, getSpelExpression, getType, getTypeInformation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isIdProperty, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccessString getColumnName()
Class<?> getColumnInnerType()
OptionalInt getPrimaryKeyOrder()
OptionalLong getMaxColumnLength()
boolean isMapped()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.