public abstract class SpannerSchema
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SpannerSchema.Column |
static class |
SpannerSchema.KeyPart |
Constructor and Description |
---|
SpannerSchema() |
Modifier and Type | Method and Description |
---|---|
static org.apache.beam.sdk.io.gcp.spanner.SpannerSchema.Builder |
builder() |
static org.apache.beam.sdk.io.gcp.spanner.SpannerSchema.Builder |
builder(com.google.cloud.spanner.Dialect dialect) |
long |
getCellsMutatedPerColumn(java.lang.String table,
java.lang.String column)
Return the total number of cells affected when the specified column is mutated.
|
long |
getCellsMutatedPerRow(java.lang.String table)
Return the total number of cells affected with the given row is deleted.
|
java.util.List<SpannerSchema.Column> |
getColumns(java.lang.String table) |
java.util.List<SpannerSchema.KeyPart> |
getKeyParts(java.lang.String table) |
java.util.List<java.lang.String> |
getTables() |
public static org.apache.beam.sdk.io.gcp.spanner.SpannerSchema.Builder builder()
public static org.apache.beam.sdk.io.gcp.spanner.SpannerSchema.Builder builder(com.google.cloud.spanner.Dialect dialect)
public java.util.List<java.lang.String> getTables()
public java.util.List<SpannerSchema.Column> getColumns(java.lang.String table)
public java.util.List<SpannerSchema.KeyPart> getKeyParts(java.lang.String table)
public long getCellsMutatedPerColumn(java.lang.String table, java.lang.String column)
public long getCellsMutatedPerRow(java.lang.String table)