Package org.apache.iceberg.catalog
Class TableIdentifier
- java.lang.Object
-
- org.apache.iceberg.catalog.TableIdentifier
-
public class TableIdentifier extends java.lang.ObjectIdentifies a table in iceberg catalog.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)inthashCode()booleanhasNamespace()Whether the namespace is empty.java.lang.Stringname()Returns the identifier name.Namespacenamespace()Returns the identifier namespace.static TableIdentifierof(java.lang.String... names)static TableIdentifierof(Namespace namespace, java.lang.String name)static TableIdentifierparse(java.lang.String identifier)TableIdentifiertoLowerCase()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-