Class CloudExecutor.Metadata
java.lang.Object
com.google.cloud.executor.spanner.CloudExecutor.Metadata
- Enclosing class:
- CloudExecutor
Metadata is used to hold and retrieve metadata of tables and columns involved in a transaction.
-
Constructor Summary
ConstructorsConstructorDescriptionMetadata(List<TableMetadata> metadata) Init metadata from list of tableMetadata in startTransaction action. -
Method Summary
Modifier and TypeMethodDescriptiongetColumnType(String tableName, String columnName) Return column type of the given table and column.getKeyColumnTypes(String tableName)
-
Constructor Details
-
Metadata
Init metadata from list of tableMetadata in startTransaction action.
-
-
Method Details
-
getKeyColumnTypes
- Throws:
SpannerException
-
getColumnType
Return column type of the given table and column.- Throws:
SpannerException
-