Package com.google.cloud.bigquery
Class BigtableColumnFamily
- java.lang.Object
-
- com.google.cloud.bigquery.BigtableColumnFamily
-
- All Implemented Interfaces:
Serializable
public abstract class BigtableColumnFamily extends Object implements Serializable
List of column families to expose in the table schema along with their types. This list restricts the column families that can be referenced in queries and specifies their value types.You can use this list to do type conversions - see the 'type' field for more details. If you leave this list empty, all column families are present in the table schema and their values are read as BYTES. During a query only the column families referenced in that query are read from Bigtable.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BigtableColumnFamily.Builder
-
Constructor Summary
Constructors Constructor Description BigtableColumnFamily()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract List<BigtableColumn>
getColumns()
abstract String
getEncoding()
abstract String
getFamilyID()
abstract Boolean
getOnlyReadLatest()
abstract String
getType()
static BigtableColumnFamily.Builder
newBuilder()
Returns a builder for aBigtableColumnFamily
object.
-
-
-
Method Detail
-
getFamilyID
public abstract String getFamilyID()
-
getColumns
public abstract List<BigtableColumn> getColumns()
-
getEncoding
public abstract String getEncoding()
-
getOnlyReadLatest
public abstract Boolean getOnlyReadLatest()
-
getType
public abstract String getType()
-
newBuilder
public static BigtableColumnFamily.Builder newBuilder()
Returns a builder for aBigtableColumnFamily
object.
-
-