Class CatalogPathUtils


  • public class CatalogPathUtils
    extends java.lang.Object
    A collection of utility methods for catalog paths. Catalog paths for tables look like: /<catalog base dir>/<dbName1>/tables/<tableName1>/<udbType>/... /_internal_/... /<tableName2>/<udbType>/... /_internal_/... /<catalog base dir>/<dbName2>/tables/<tableName3>/<udbType>/... /_internal_/...
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static alluxio.AlluxioURI getTablePathInternal​(java.lang.String dbName, java.lang.String tableName)  
      static alluxio.AlluxioURI getTablePathUdb​(java.lang.String dbName, java.lang.String tableName, java.lang.String udbType)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getTablePathUdb

        public static alluxio.AlluxioURI getTablePathUdb​(java.lang.String dbName,
                                                         java.lang.String tableName,
                                                         java.lang.String udbType)
        Parameters:
        dbName - the database name
        tableName - the table name
        udbType - the udb type
        Returns:
        the AlluxioURI for the path for the specified table
      • getTablePathInternal

        public static alluxio.AlluxioURI getTablePathInternal​(java.lang.String dbName,
                                                              java.lang.String tableName)
        Parameters:
        dbName - the database name
        tableName - the table name
        Returns:
        the AlluxioURI for the path for the specified table, for internal data