Package org.apache.iceberg.catalog
Class Namespace
- java.lang.Object
-
- org.apache.iceberg.catalog.Namespace
-
public class Namespace extends java.lang.Object
A namespace in aCatalog
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Namespace
empty()
boolean
equals(java.lang.Object other)
int
hashCode()
boolean
isEmpty()
java.lang.String
level(int pos)
java.lang.String[]
levels()
static Namespace
of(java.lang.String... levels)
java.lang.String
toString()
-
-
-
Method Detail
-
empty
public static Namespace empty()
-
of
public static Namespace of(java.lang.String... levels)
-
levels
public java.lang.String[] levels()
-
level
public java.lang.String level(int pos)
-
isEmpty
public boolean isEmpty()
-
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
-
-