Class BigtableTableSchema.Family
java.lang.Object
io.github.flink.gcp.connector.bigtable.table.BigtableTableSchema.Family
- Enclosing class:
- BigtableTableSchema
One column family: a
ROW column whose nested fields are its qualifiers, or a
MAP column whose entries are.-
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetIndex()Returns the position of the family's column in the physical row.org.apache.flink.table.types.logical.LogicalTypeReturns the declared type of aMAPfamily's keys, which are its qualifiers.org.apache.flink.table.types.logical.LogicalTypeReturns the declared type of aMAPfamily's values, which are its cells.getName()Returns the family name, which is the column name.Returns the family's qualifiers, in DDL order; empty for aMAPfamily, whose qualifiers are its entries' keys and so are known only per row.inthashCode()booleanisMap()Returns whether the family is declared as aMAPrather than aROW.
-
Method Details
-
getName
Returns the family name, which is the column name. -
getIndex
public int getIndex()Returns the position of the family's column in the physical row. -
getQualifiers
Returns the family's qualifiers, in DDL order; empty for aMAPfamily, whose qualifiers are its entries' keys and so are known only per row. -
isMap
public boolean isMap()Returns whether the family is declared as aMAPrather than aROW. -
getMapKeyType
public org.apache.flink.table.types.logical.LogicalType getMapKeyType()Returns the declared type of aMAPfamily's keys, which are its qualifiers.- Throws:
IllegalStateException- if the family is aROW
-
getMapValueType
public org.apache.flink.table.types.logical.LogicalType getMapValueType()Returns the declared type of aMAPfamily's values, which are its cells.- Throws:
IllegalStateException- if the family is aROW
-
equals
-
hashCode
public int hashCode()
-