Package org.apache.iceberg.catalog
Class TableIdentifier
- java.lang.Object
-
- org.apache.iceberg.catalog.TableIdentifier
-
public class TableIdentifier extends java.lang.Object
Identifies a table in iceberg catalog.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
boolean
hasNamespace()
Whether the namespace is empty.java.lang.String
name()
Returns the identifier name.Namespace
namespace()
Returns the identifier namespace.static TableIdentifier
of(java.lang.String... names)
static TableIdentifier
of(Namespace namespace, java.lang.String name)
static TableIdentifier
parse(java.lang.String identifier)
TableIdentifier
toLowerCase()
java.lang.String
toString()
-
-
-
Method Detail
-
of
public static TableIdentifier of(java.lang.String... names)
-
of
public static TableIdentifier of(Namespace namespace, java.lang.String name)
-
parse
public static TableIdentifier parse(java.lang.String identifier)
-
hasNamespace
public boolean hasNamespace()
Whether the namespace is empty.- Returns:
- true if the namespace is not empty, false otherwise
-
namespace
public Namespace namespace()
Returns the identifier namespace.
-
name
public java.lang.String name()
Returns the identifier name.
-
toLowerCase
public TableIdentifier toLowerCase()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-