private Referenceable getTableReference ( Table hiveTable ) throws Exception { LOG . debug ( "Getting reference for table {}.{}" , hiveTable . getDbName ( ) , hiveTable . getTableName ( ) ) ; String typeName = HiveDataTypes . HIVE_TABLE . getName ( ) ; String tblQualifiedName = getTableQualifiedName ( getClusterName ( ) , hiveTable . getDbName ( ) , hiveTable . getTableName ( ) ) ; return getEntityReference ( typeName , tblQualifiedName ) ; }
Gets reference for the table