@ThriftMethod(value = "exchange_partition", exception = { @ThriftException(type = MetaException.class, id = 1), @ThriftException(type = NoSuchObjectException.class, id = 2), @ThriftException(type = InvalidObjectException.class, id = 3), @ThriftException(type = InvalidInputException.class, id = 4), @ThriftException(type = AlreadyExistsException.class, id = 5) }) List<Partition> exchangePartition( @ThriftField(value = 1, name = "partitionSpecs") final Map<String, String> partitionSpecs, @ThriftField(value = 2, name = "source_db") final String sourceDb, @ThriftField(value = 3, name = "source_table_name") final String sourceTableName, @ThriftField(value = 4, name = "dest_db") final String destDb, @ThriftField(value = 5, name = "dest_table_name") final String destTableName, @ThriftField(value = 6, name = "overwrite") final boolean overwrite ) throws MetaException, NoSuchObjectException, InvalidObjectException, InvalidInputException, AlreadyExistsException, org.apache.thrift.TException;
@ThriftMethod(value = "create_table_link", exception = { @ThriftException(type = AlreadyExistsException.class, id = 1), @ThriftException(type = InvalidObjectException.class, id = 2), @ThriftException(type = MetaException.class, id = 3), @ThriftException(type = NoSuchObjectException.class, id = 4), @ThriftException(type = InvalidTableLinkDescriptionException.class, id = 5) }) void createTableLink( @ThriftField(value = 1, name = "dbName") final String dbName, @ThriftField(value = 2, name = "targetDbName") final String targetDbName, @ThriftField(value = 3, name = "targetTableName") final String targetTableName, @ThriftField(value = 4, name = "owner") final String owner, @ThriftField(value = 5, name = "isStatic") final boolean isStatic, @ThriftField(value = 6, name = "linkProperties") final Map<String, String> linkProperties ) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, InvalidTableLinkDescriptionException, org.apache.thrift.TException;
@ThriftMethod(value = "drop_table_link", exception = { @ThriftException(type = NoSuchObjectException.class, id = 1), @ThriftException(type = MetaException.class, id = 2) }) void dropTableLink( @ThriftField(value = 1, name = "dbName") final String dbName, @ThriftField(value = 2, name = "targetDbName") final String targetDbName, @ThriftField(value = 3, name = "targetTableName") final String targetTableName ) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "exists_table", exception = { @ThriftException(type = MetaException.class, id = 1) }) boolean existsTable( @ThriftField(value = 1, name = "dbname") final String dbname, @ThriftField(value = 2, name = "tbl_name") final String tblName ) throws MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "get_table_link", exception = { @ThriftException(type = MetaException.class, id = 1), @ThriftException(type = NoSuchObjectException.class, id = 2) }) Table getTableLink( @ThriftField(value = 1, name = "dbName") final String dbName, @ThriftField(value = 2, name = "targetDbName") final String targetDbName, @ThriftField(value = 3, name = "targetTableName") final String targetTableName ) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
@ThriftMethod(value = "alter_table_link", exception = { @ThriftException(type = InvalidOperationException.class, id = 1), @ThriftException(type = MetaException.class, id = 2) }) void alterTableLink( @ThriftField(value = 1, name = "dbName") final String dbName, @ThriftField(value = 2, name = "targetDbName") final String targetDbName, @ThriftField(value = 3, name = "targetTableName") final String targetTableName, @ThriftField(value = 4, name = "new_tbl") final Table newTbl ) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "alter_table_link_properties", exception = { @ThriftException(type = InvalidOperationException.class, id = 1), @ThriftException(type = MetaException.class, id = 2), @ThriftException(type = NoSuchObjectException.class, id = 3) }) void alterTableLinkProperties( @ThriftField(value = 1, name = "dbName") final String dbName, @ThriftField(value = 2, name = "targetDbName") final String targetDbName, @ThriftField(value = 3, name = "targetTableName") final String targetTableName, @ThriftField(value = 4, name = "updatedProperties") final Map<String, String> updatedProperties ) throws InvalidOperationException, MetaException, NoSuchObjectException, org.apache.thrift.TException;
@ThriftMethod(value = "add_table_link_partition", exception = { @ThriftException(type = InvalidObjectException.class, id = 1), @ThriftException(type = AlreadyExistsException.class, id = 2), @ThriftException(type = NoSuchObjectException.class, id = 3), @ThriftException(type = MetaException.class, id = 4) }) Partition addTableLinkPartition( @ThriftField(value = 1, name = "dbName") final String dbName, @ThriftField(value = 2, name = "targetDbName") final String targetDbName, @ThriftField(value = 3, name = "targetTableName") final String targetTableName, @ThriftField(value = 4, name = "partitionName") final String partitionName ) throws InvalidObjectException, AlreadyExistsException, NoSuchObjectException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "drop_table_link_partition", exception = { @ThriftException(type = NoSuchObjectException.class, id = 1), @ThriftException(type = MetaException.class, id = 2) }) boolean dropTableLinkPartition( @ThriftField(value = 1, name = "dbName") final String dbName, @ThriftField(value = 2, name = "targetDbName") final String targetDbName, @ThriftField(value = 3, name = "targetTableName") final String targetTableName, @ThriftField(value = 4, name = "partitionName") final String partitionName ) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "get_partition_template", exception = { @ThriftException(type = InvalidObjectException.class, id = 1), @ThriftException(type = MetaException.class, id = 2) }) Partition getPartitionTemplate( @ThriftField(value = 1, name = "db_name") final String dbName, @ThriftField(value = 2, name = "tbl_name") final String tblName, @ThriftField(value = 3, name = "part_vals") final List<String> partVals ) throws InvalidObjectException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "get_total_partitions", exception = { @ThriftException(type = MetaException.class, id = 1) }) int getTotalPartitions( @ThriftField(value = 1, name = "db_name") final String dbName, @ThriftField(value = 2, name = "tbl_name") final String tblName ) throws MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "create_database", exception = { @ThriftException(type = AlreadyExistsException.class, id = 1), @ThriftException(type = InvalidObjectException.class, id = 2), @ThriftException(type = MetaException.class, id = 3) }) void createDatabase( @ThriftField(value = 1, name = "database") final Database database ) throws AlreadyExistsException, InvalidObjectException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "get_database", exception = { @ThriftException(type = NoSuchObjectException.class, id = 1), @ThriftException(type = MetaException.class, id = 2) }) Database getDatabase( @ThriftField(value = 1, name = "name") final String name ) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "drop_database", exception = { @ThriftException(type = NoSuchObjectException.class, id = 1), @ThriftException(type = InvalidOperationException.class, id = 2), @ThriftException(type = MetaException.class, id = 3) }) void dropDatabase( @ThriftField(value = 1, name = "name") final String name, @ThriftField(value = 2, name = "deleteData") final boolean deleteData, @ThriftField(value = 3, name = "cascade") final boolean cascade ) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "get_databases", exception = { @ThriftException(type = MetaException.class, id = 1) }) List<String> getDatabases( @ThriftField(value = 1, name = "pattern") final String pattern ) throws MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "alter_database", exception = { @ThriftException(type = MetaException.class, id = 1), @ThriftException(type = NoSuchObjectException.class, id = 2) }) void alterDatabase( @ThriftField(value = 1, name = "dbname") final String dbname, @ThriftField(value = 2, name = "db") final Database db ) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
@ThriftMethod(value = "get_type", exception = { @ThriftException(type = MetaException.class, id = 1), @ThriftException(type = NoSuchObjectException.class, id = 2) }) Type getType( @ThriftField(value = 1, name = "name") final String name ) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
@ThriftMethod(value = "get_type_all", exception = { @ThriftException(type = MetaException.class, id = 1) }) Map<String, Type> getTypeAll( @ThriftField(value = 1, name = "name") final String name ) throws MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "get_fields", exception = { @ThriftException(type = MetaException.class, id = 1), @ThriftException(type = UnknownTableException.class, id = 2), @ThriftException(type = UnknownDBException.class, id = 3) }) List<FieldSchema> getFields( @ThriftField(value = 1, name = "db_name") final String dbName, @ThriftField(value = 2, name = "table_name") final String tableName ) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException;
@ThriftMethod(value = "get_schema", exception = { @ThriftException(type = MetaException.class, id = 1), @ThriftException(type = UnknownTableException.class, id = 2), @ThriftException(type = UnknownDBException.class, id = 3) }) List<FieldSchema> getSchema( @ThriftField(value = 1, name = "db_name") final String dbName, @ThriftField(value = 2, name = "table_name") final String tableName ) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException;
@ThriftMethod(value = "create_table", exception = { @ThriftException(type = AlreadyExistsException.class, id = 1), @ThriftException(type = InvalidObjectException.class, id = 2), @ThriftException(type = MetaException.class, id = 3), @ThriftException(type = NoSuchObjectException.class, id = 4) }) void createTable( @ThriftField(value = 1, name = "tbl") final Table tbl ) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException;
@ThriftMethod(value = "create_table_with_environment_context", exception = { @ThriftException(type = AlreadyExistsException.class, id = 1), @ThriftException(type = InvalidObjectException.class, id = 2), @ThriftException(type = MetaException.class, id = 3), @ThriftException(type = NoSuchObjectException.class, id = 4) }) void createTableWithEnvironmentContext( @ThriftField(value = 1, name = "tbl") final Table tbl, @ThriftField(value = 2, name = "environment_context") final EnvironmentContext environmentContext ) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException;
@ThriftMethod(value = "get_tables", exception = { @ThriftException(type = MetaException.class, id = 1) }) List<String> getTables( @ThriftField(value = 1, name = "db_name") final String dbName, @ThriftField(value = 2, name = "pattern") final String pattern ) throws MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "get_all_tables", exception = { @ThriftException(type = MetaException.class, id = 1) }) List<String> getAllTables( @ThriftField(value = 1, name = "db_name") final String dbName ) throws MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "get_table", exception = { @ThriftException(type = MetaException.class, id = 1), @ThriftException(type = NoSuchObjectException.class, id = 2) }) Table getTable( @ThriftField(value = 1, name = "dbname") final String dbname, @ThriftField(value = 2, name = "tbl_name") final String tblName ) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
@ThriftMethod(value = "get_table_objects_by_name", exception = { @ThriftException(type = MetaException.class, id = 1), @ThriftException(type = InvalidOperationException.class, id = 2), @ThriftException(type = UnknownDBException.class, id = 3) }) List<Table> getTableObjectsByName( @ThriftField(value = 1, name = "dbname") final String dbname, @ThriftField(value = 2, name = "tbl_names") final List<String> tblNames ) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException;
@ThriftMethod(value = "get_table_names_by_filter", exception = { @ThriftException(type = MetaException.class, id = 1), @ThriftException(type = InvalidOperationException.class, id = 2), @ThriftException(type = UnknownDBException.class, id = 3) }) List<String> getTableNamesByFilter( @ThriftField(value = 1, name = "dbname") final String dbname, @ThriftField(value = 2, name = "filter") final String filter, @ThriftField(value = 3, name = "max_tables") final short maxTables ) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException;
@ThriftMethod(value = "alter_table", exception = { @ThriftException(type = InvalidOperationException.class, id = 1), @ThriftException(type = MetaException.class, id = 2) }) void alterTable( @ThriftField(value = 1, name = "dbname") final String dbname, @ThriftField(value = 2, name = "tbl_name") final String tblName, @ThriftField(value = 3, name = "new_tbl") final Table newTbl ) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "alter_table_with_environment_context", exception = { @ThriftException(type = InvalidOperationException.class, id = 1), @ThriftException(type = MetaException.class, id = 2) }) void alterTableWithEnvironmentContext( @ThriftField(value = 1, name = "dbname") final String dbname, @ThriftField(value = 2, name = "tbl_name") final String tblName, @ThriftField(value = 3, name = "new_tbl") final Table newTbl, @ThriftField(value = 4, name = "environment_context") final EnvironmentContext environmentContext ) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "add_partition", exception = { @ThriftException(type = InvalidObjectException.class, id = 1), @ThriftException(type = AlreadyExistsException.class, id = 2), @ThriftException(type = MetaException.class, id = 3) }) Partition addPartition( @ThriftField(value = 1, name = "new_part") final Partition newPart ) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "add_partition_with_environment_context", exception = { @ThriftException(type = InvalidObjectException.class, id = 1), @ThriftException(type = AlreadyExistsException.class, id = 2), @ThriftException(type = MetaException.class, id = 3) }) Partition addPartitionWithEnvironmentContext( @ThriftField(value = 1, name = "new_part") final Partition newPart, @ThriftField(value = 2, name = "environment_context") final EnvironmentContext environmentContext ) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "add_partitions", exception = { @ThriftException(type = InvalidObjectException.class, id = 1), @ThriftException(type = AlreadyExistsException.class, id = 2), @ThriftException(type = MetaException.class, id = 3) }) int addPartitions( @ThriftField(value = 1, name = "new_parts") final List<Partition> newParts ) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "append_partition", exception = { @ThriftException(type = InvalidObjectException.class, id = 1), @ThriftException(type = AlreadyExistsException.class, id = 2), @ThriftException(type = MetaException.class, id = 3) }) Partition appendPartition( @ThriftField(value = 1, name = "db_name") final String dbName, @ThriftField(value = 2, name = "tbl_name") final String tblName, @ThriftField(value = 3, name = "part_vals") final List<String> partVals ) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "append_partition_with_environment_context", exception = { @ThriftException(type = InvalidObjectException.class, id = 1), @ThriftException(type = AlreadyExistsException.class, id = 2), @ThriftException(type = MetaException.class, id = 3) }) Partition appendPartitionWithEnvironmentContext( @ThriftField(value = 1, name = "db_name") final String dbName, @ThriftField(value = 2, name = "tbl_name") final String tblName, @ThriftField(value = 3, name = "part_vals") final List<String> partVals, @ThriftField(value = 4, name = "environment_context") final EnvironmentContext environmentContext ) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "append_partition_by_name", exception = { @ThriftException(type = InvalidObjectException.class, id = 1), @ThriftException(type = AlreadyExistsException.class, id = 2), @ThriftException(type = MetaException.class, id = 3) }) Partition appendPartitionByName( @ThriftField(value = 1, name = "db_name") final String dbName, @ThriftField(value = 2, name = "tbl_name") final String tblName, @ThriftField(value = 3, name = "part_name") final String partName ) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "append_partition_by_name_with_environment_context", exception = { @ThriftException(type = InvalidObjectException.class, id = 1), @ThriftException(type = AlreadyExistsException.class, id = 2), @ThriftException(type = MetaException.class, id = 3) }) Partition appendPartitionByNameWithEnvironmentContext( @ThriftField(value = 1, name = "db_name") final String dbName, @ThriftField(value = 2, name = "tbl_name") final String tblName, @ThriftField(value = 3, name = "part_name") final String partName, @ThriftField(value = 4, name = "environment_context") final EnvironmentContext environmentContext ) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "drop_partition", exception = { @ThriftException(type = NoSuchObjectException.class, id = 1), @ThriftException(type = MetaException.class, id = 2) }) boolean dropPartition( @ThriftField(value = 1, name = "db_name") final String dbName, @ThriftField(value = 2, name = "tbl_name") final String tblName, @ThriftField(value = 3, name = "part_vals") final List<String> partVals, @ThriftField(value = 4, name = "deleteData") final boolean deleteData ) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "drop_partition_with_environment_context", exception = { @ThriftException(type = NoSuchObjectException.class, id = 1), @ThriftException(type = MetaException.class, id = 2) }) boolean dropPartitionWithEnvironmentContext( @ThriftField(value = 1, name = "db_name") final String dbName, @ThriftField(value = 2, name = "tbl_name") final String tblName, @ThriftField(value = 3, name = "part_vals") final List<String> partVals, @ThriftField(value = 4, name = "deleteData") final boolean deleteData, @ThriftField(value = 5, name = "environment_context") final EnvironmentContext environmentContext ) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "drop_partition_by_name", exception = { @ThriftException(type = NoSuchObjectException.class, id = 1), @ThriftException(type = MetaException.class, id = 2) }) boolean dropPartitionByName( @ThriftField(value = 1, name = "db_name") final String dbName, @ThriftField(value = 2, name = "tbl_name") final String tblName, @ThriftField(value = 3, name = "part_name") final String partName, @ThriftField(value = 4, name = "deleteData") final boolean deleteData ) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
@ThriftMethod(value = "drop_partition_by_name_with_environment_context", exception = { @ThriftException(type = NoSuchObjectException.class, id = 1), @ThriftException(type = MetaException.class, id = 2) }) boolean dropPartitionByNameWithEnvironmentContext( @ThriftField(value = 1, name = "db_name") final String dbName, @ThriftField(value = 2, name = "tbl_name") final String tblName, @ThriftField(value = 3, name = "part_name") final String partName, @ThriftField(value = 4, name = "deleteData") final boolean deleteData, @ThriftField(value = 5, name = "environment_context") final EnvironmentContext environmentContext ) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;