Class SpannerSchema
java.lang.Object
org.apache.beam.sdk.io.gcp.spanner.SpannerSchema
- All Implemented Interfaces:
Serializable
Encapsulates Cloud Spanner Schema.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.beam.sdk.io.gcp.spanner.SpannerSchema.Builder
builder()
static org.apache.beam.sdk.io.gcp.spanner.SpannerSchema.Builder
long
getCellsMutatedPerColumn
(String table, String column) Return the total number of cells affected when the specified column is mutated.long
getCellsMutatedPerRow
(String table) Return the total number of cells affected with the given row is deleted.getColumns
(String table) getKeyParts
(String table)
-
Constructor Details
-
SpannerSchema
public SpannerSchema()
-
-
Method Details
-
builder
public static org.apache.beam.sdk.io.gcp.spanner.SpannerSchema.Builder builder() -
builder
-
getTables
-
getColumns
-
getKeyParts
-
getCellsMutatedPerColumn
Return the total number of cells affected when the specified column is mutated. -
getCellsMutatedPerRow
Return the total number of cells affected with the given row is deleted.
-