public static class DataStoreV1SchemaIOProvider.DataStoreV1SchemaIO extends java.lang.Object implements SchemaIO, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected Schema |
dataSchema |
protected java.lang.String |
keyField |
protected java.lang.String |
kind |
protected java.lang.String |
location |
protected java.lang.String |
projectId |
Modifier and Type | Method and Description |
---|---|
PTransform<PBegin,PCollection<Row>> |
buildReader()
Returns a schema aware reader.
|
PTransform<PCollection<Row>,POutput> |
buildWriter()
Returns a schema aware writer.
|
java.lang.String |
getKind() |
java.lang.String |
getProjectId() |
Schema |
schema()
Returns the schema of the data.
|
protected final Schema dataSchema
protected final java.lang.String location
protected final java.lang.String kind
protected final java.lang.String projectId
protected final java.lang.String keyField
public Schema schema()
SchemaIO
public PTransform<PBegin,PCollection<Row>> buildReader()
SchemaIO
buildReader
in interface SchemaIO
public PTransform<PCollection<Row>,POutput> buildWriter()
SchemaIO
buildWriter
in interface SchemaIO
public java.lang.String getProjectId()
public java.lang.String getKind()