Class TableReference
- java.lang.Object
-
- org.apache.iceberg.connect.events.TableReference
-
- All Implemented Interfaces:
org.apache.avro.generic.GenericContainer
,org.apache.avro.generic.IndexedRecord
public class TableReference extends java.lang.Object implements org.apache.avro.generic.IndexedRecord
Element representing a table identifier, with namespace and name.
-
-
Field Summary
Fields Modifier and Type Field Description static Types.StructType
ICEBERG_SCHEMA
-
Constructor Summary
Constructors Constructor Description TableReference(java.lang.String catalog, java.util.List<java.lang.String> namespace, java.lang.String name)
TableReference(org.apache.avro.Schema avroSchema)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
catalog()
boolean
equals(java.lang.Object o)
java.lang.Object
get(int i)
org.apache.avro.Schema
getSchema()
int
hashCode()
TableIdentifier
identifier()
static TableReference
of(java.lang.String catalog, TableIdentifier tableIdentifier)
void
put(int i, java.lang.Object v)
-
-
-
Field Detail
-
ICEBERG_SCHEMA
public static final Types.StructType ICEBERG_SCHEMA
-
-
Method Detail
-
of
public static TableReference of(java.lang.String catalog, TableIdentifier tableIdentifier)
-
catalog
public java.lang.String catalog()
-
identifier
public TableIdentifier identifier()
-
getSchema
public org.apache.avro.Schema getSchema()
- Specified by:
getSchema
in interfaceorg.apache.avro.generic.GenericContainer
-
put
public void put(int i, java.lang.Object v)
- Specified by:
put
in interfaceorg.apache.avro.generic.IndexedRecord
-
get
public java.lang.Object get(int i)
- Specified by:
get
in interfaceorg.apache.avro.generic.IndexedRecord
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-