Class TableReference


  • public final class TableReference
    extends java.lang.Object
    • Method Detail

      • createFromFullyQualifiedName

        public static TableReference createFromFullyQualifiedName​(java.lang.String fullTableName)
        Creates a table reference based on fullTableName. fullTableName is assumed to be of the format namespace.tableName, and must contain a dot.
      • createWithEmptyNamespace

        public static TableReference createWithEmptyNamespace​(java.lang.String tableName)
        Creates a table reference with an empty namespace, based on tablename. This should only be used when creating a TableReference for a system table.
      • createUnsafe

        @Deprecated
        public static TableReference createUnsafe​(java.lang.String fullTableName)
        Deprecated.
        please use createFromFullyQualifiedName, if fullTableName includes the namespace, or createWithEmptyNamespace, if you're passing in a system table name.
      • getNamespace

        public Namespace getNamespace()
      • getTablename

        @Deprecated
        public java.lang.String getTablename()
        Deprecated.
        Please use getTableName(), which is consistent with broader AtlasDB naming conventions.
      • getTableName

        public java.lang.String getTableName()
      • getQualifiedName

        public java.lang.String getQualifiedName()
      • isFullyQualifiedName

        public static boolean isFullyQualifiedName​(java.lang.String tableName)
      • isFullyQualifiedName

        public boolean isFullyQualifiedName()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • fromString

        public static TableReference fromString​(java.lang.String tableReferenceAsString)