<?php
namespace metastore;

/**
 * Autogenerated by Thrift Compiler (0.16.0)
 *
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 *  @generated
 */
use Thrift\Base\TBase;
use Thrift\Type\TType;
use Thrift\Type\TMessageType;
use Thrift\Exception\TException;
use Thrift\Exception\TProtocolException;
use Thrift\Protocol\TProtocol;
use Thrift\Protocol\TBinaryProtocolAccelerated;
use Thrift\Exception\TApplicationException;

/**
 * This interface is live.
 */
interface ThriftHiveMetastoreIf extends \FacebookServiceIf
{
    /**
     * @param \metastore\AbortCompactionRequest $rqst
     * @return \metastore\AbortCompactResponse
     */
    public function abort_Compactions(\metastore\AbortCompactionRequest $rqst);
    /**
     * @param string $key
     * @return string
     * @throws \metastore\MetaException
     */
    public function getMetaConf($key);
    /**
     * @param string $key
     * @param string $value
     * @throws \metastore\MetaException
     */
    public function setMetaConf($key, $value);
    /**
     * @param \metastore\CreateCatalogRequest $catalog
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     */
    public function create_catalog(\metastore\CreateCatalogRequest $catalog);
    /**
     * @param \metastore\AlterCatalogRequest $rqst
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function alter_catalog(\metastore\AlterCatalogRequest $rqst);
    /**
     * @param \metastore\GetCatalogRequest $catName
     * @return \metastore\GetCatalogResponse
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_catalog(\metastore\GetCatalogRequest $catName);
    /**
     * @return \metastore\GetCatalogsResponse
     * @throws \metastore\MetaException
     */
    public function get_catalogs();
    /**
     * @param \metastore\DropCatalogRequest $catName
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function drop_catalog(\metastore\DropCatalogRequest $catName);
    /**
     * @param \metastore\Database $database
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     */
    public function create_database(\metastore\Database $database);
    /**
     * @param \metastore\CreateDatabaseRequest $createDatabaseRequest
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     */
    public function create_database_req(\metastore\CreateDatabaseRequest $createDatabaseRequest);
    /**
     * @param string $name
     * @return \metastore\Database
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_database($name);
    /**
     * @param \metastore\GetDatabaseRequest $request
     * @return \metastore\Database
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_database_req(\metastore\GetDatabaseRequest $request);
    /**
     * @param string $name
     * @param bool $deleteData
     * @param bool $cascade
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function drop_database($name, $deleteData, $cascade);
    /**
     * @param \metastore\DropDatabaseRequest $req
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function drop_database_req(\metastore\DropDatabaseRequest $req);
    /**
     * @param string $pattern
     * @return string[]
     * @throws \metastore\MetaException
     */
    public function get_databases($pattern);
    /**
     * @return string[]
     * @throws \metastore\MetaException
     */
    public function get_all_databases();
    /**
     * @param \metastore\GetDatabaseObjectsRequest $request
     * @return \metastore\GetDatabaseObjectsResponse
     * @throws \metastore\MetaException
     */
    public function get_databases_req(\metastore\GetDatabaseObjectsRequest $request);
    /**
     * @param string $dbname
     * @param \metastore\Database $db
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function alter_database($dbname, \metastore\Database $db);
    /**
     * @param \metastore\AlterDatabaseRequest $alterDbReq
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function alter_database_req(\metastore\AlterDatabaseRequest $alterDbReq);
    /**
     * @param \metastore\CreateDataConnectorRequest $connectorReq
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     */
    public function create_dataconnector_req(\metastore\CreateDataConnectorRequest $connectorReq);
    /**
     * @param \metastore\GetDataConnectorRequest $request
     * @return \metastore\DataConnector
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_dataconnector_req(\metastore\GetDataConnectorRequest $request);
    /**
     * @param \metastore\DropDataConnectorRequest $dropDcReq
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function drop_dataconnector_req(\metastore\DropDataConnectorRequest $dropDcReq);
    /**
     * @return string[]
     * @throws \metastore\MetaException
     */
    public function get_dataconnectors();
    /**
     * @param \metastore\AlterDataConnectorRequest $alterReq
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function alter_dataconnector_req(\metastore\AlterDataConnectorRequest $alterReq);
    /**
     * @param string $name
     * @return \metastore\Type
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_type($name);
    /**
     * @param \metastore\Type $type
     * @return bool
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     */
    public function create_type(\metastore\Type $type);
    /**
     * @param string $type
     * @return bool
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function drop_type($type);
    /**
     * @param string $name
     * @return array
     * @throws \metastore\MetaException
     */
    public function get_type_all($name);
    /**
     * @param string $db_name
     * @param string $table_name
     * @return \metastore\FieldSchema[]
     * @throws \metastore\MetaException
     * @throws \metastore\UnknownTableException
     * @throws \metastore\UnknownDBException
     */
    public function get_fields($db_name, $table_name);
    /**
     * @param string $db_name
     * @param string $table_name
     * @param \metastore\EnvironmentContext $environment_context
     * @return \metastore\FieldSchema[]
     * @throws \metastore\MetaException
     * @throws \metastore\UnknownTableException
     * @throws \metastore\UnknownDBException
     */
    public function get_fields_with_environment_context($db_name, $table_name, \metastore\EnvironmentContext $environment_context);
    /**
     * @param \metastore\GetFieldsRequest $req
     * @return \metastore\GetFieldsResponse
     * @throws \metastore\MetaException
     * @throws \metastore\UnknownTableException
     * @throws \metastore\UnknownDBException
     */
    public function get_fields_req(\metastore\GetFieldsRequest $req);
    /**
     * @param string $db_name
     * @param string $table_name
     * @return \metastore\FieldSchema[]
     * @throws \metastore\MetaException
     * @throws \metastore\UnknownTableException
     * @throws \metastore\UnknownDBException
     */
    public function get_schema($db_name, $table_name);
    /**
     * @param string $db_name
     * @param string $table_name
     * @param \metastore\EnvironmentContext $environment_context
     * @return \metastore\FieldSchema[]
     * @throws \metastore\MetaException
     * @throws \metastore\UnknownTableException
     * @throws \metastore\UnknownDBException
     */
    public function get_schema_with_environment_context($db_name, $table_name, \metastore\EnvironmentContext $environment_context);
    /**
     * @param \metastore\GetSchemaRequest $req
     * @return \metastore\GetSchemaResponse
     * @throws \metastore\MetaException
     * @throws \metastore\UnknownTableException
     * @throws \metastore\UnknownDBException
     */
    public function get_schema_req(\metastore\GetSchemaRequest $req);
    /**
     * @param \metastore\Table $tbl
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function create_table(\metastore\Table $tbl);
    /**
     * @param \metastore\Table $tbl
     * @param \metastore\EnvironmentContext $environment_context
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function create_table_with_environment_context(\metastore\Table $tbl, \metastore\EnvironmentContext $environment_context);
    /**
     * @param \metastore\Table $tbl
     * @param \metastore\SQLPrimaryKey[] $primaryKeys
     * @param \metastore\SQLForeignKey[] $foreignKeys
     * @param \metastore\SQLUniqueConstraint[] $uniqueConstraints
     * @param \metastore\SQLNotNullConstraint[] $notNullConstraints
     * @param \metastore\SQLDefaultConstraint[] $defaultConstraints
     * @param \metastore\SQLCheckConstraint[] $checkConstraints
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function create_table_with_constraints(\metastore\Table $tbl, array $primaryKeys, array $foreignKeys, array $uniqueConstraints, array $notNullConstraints, array $defaultConstraints, array $checkConstraints);
    /**
     * @param \metastore\CreateTableRequest $request
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function create_table_req(\metastore\CreateTableRequest $request);
    /**
     * @param \metastore\DropConstraintRequest $req
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function drop_constraint(\metastore\DropConstraintRequest $req);
    /**
     * @param \metastore\AddPrimaryKeyRequest $req
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function add_primary_key(\metastore\AddPrimaryKeyRequest $req);
    /**
     * @param \metastore\AddForeignKeyRequest $req
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function add_foreign_key(\metastore\AddForeignKeyRequest $req);
    /**
     * @param \metastore\AddUniqueConstraintRequest $req
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function add_unique_constraint(\metastore\AddUniqueConstraintRequest $req);
    /**
     * @param \metastore\AddNotNullConstraintRequest $req
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function add_not_null_constraint(\metastore\AddNotNullConstraintRequest $req);
    /**
     * @param \metastore\AddDefaultConstraintRequest $req
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function add_default_constraint(\metastore\AddDefaultConstraintRequest $req);
    /**
     * @param \metastore\AddCheckConstraintRequest $req
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function add_check_constraint(\metastore\AddCheckConstraintRequest $req);
    /**
     * @param \metastore\CreateTableRequest $request
     * @return \metastore\Table
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function translate_table_dryrun(\metastore\CreateTableRequest $request);
    /**
     * @param string $dbname
     * @param string $name
     * @param bool $deleteData
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function drop_table($dbname, $name, $deleteData);
    /**
     * @param string $dbname
     * @param string $name
     * @param bool $deleteData
     * @param \metastore\EnvironmentContext $environment_context
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function drop_table_with_environment_context($dbname, $name, $deleteData, \metastore\EnvironmentContext $environment_context);
    /**
     * @param \metastore\DropTableRequest $dropTableReq
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function drop_table_req(\metastore\DropTableRequest $dropTableReq);
    /**
     * @param string $dbName
     * @param string $tableName
     * @param string[] $partNames
     * @throws \metastore\MetaException
     */
    public function truncate_table($dbName, $tableName, array $partNames);
    /**
     * @param \metastore\TruncateTableRequest $req
     * @return \metastore\TruncateTableResponse
     * @throws \metastore\MetaException
     */
    public function truncate_table_req(\metastore\TruncateTableRequest $req);
    /**
     * @param string $db_name
     * @param string $pattern
     * @return string[]
     * @throws \metastore\MetaException
     */
    public function get_tables($db_name, $pattern);
    /**
     * @param string $db_name
     * @param string $pattern
     * @param string $tableType
     * @return string[]
     * @throws \metastore\MetaException
     */
    public function get_tables_by_type($db_name, $pattern, $tableType);
    /**
     * @return \metastore\Table[]
     * @throws \metastore\MetaException
     */
    public function get_all_materialized_view_objects_for_rewriting();
    /**
     * @param string $db_name
     * @return string[]
     * @throws \metastore\MetaException
     */
    public function get_materialized_views_for_rewriting($db_name);
    /**
     * @param string $db_patterns
     * @param string $tbl_patterns
     * @param string[] $tbl_types
     * @return \metastore\TableMeta[]
     * @throws \metastore\MetaException
     */
    public function get_table_meta($db_patterns, $tbl_patterns, array $tbl_types);
    /**
     * @param string $db_name
     * @return string[]
     * @throws \metastore\MetaException
     */
    public function get_all_tables($db_name);
    /**
     * @param \metastore\GetTablesExtRequest $req
     * @return \metastore\ExtendedTableInfo[]
     * @throws \metastore\MetaException
     */
    public function get_tables_ext(\metastore\GetTablesExtRequest $req);
    /**
     * @param \metastore\GetTableRequest $req
     * @return \metastore\GetTableResult
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_table_req(\metastore\GetTableRequest $req);
    /**
     * @param \metastore\GetTablesRequest $req
     * @return \metastore\GetTablesResult
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\UnknownDBException
     */
    public function get_table_objects_by_name_req(\metastore\GetTablesRequest $req);
    /**
     * @param \metastore\CreationMetadata $creation_metadata
     * @param string $validTxnList
     * @return \metastore\Materialization
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\UnknownDBException
     */
    public function get_materialization_invalidation_info(\metastore\CreationMetadata $creation_metadata, $validTxnList);
    /**
     * @param string $catName
     * @param string $dbname
     * @param string $tbl_name
     * @param \metastore\CreationMetadata $creation_metadata
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\UnknownDBException
     */
    public function update_creation_metadata($catName, $dbname, $tbl_name, \metastore\CreationMetadata $creation_metadata);
    /**
     * @param string $dbname
     * @param string $filter
     * @param int $max_tables
     * @return string[]
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\UnknownDBException
     */
    public function get_table_names_by_filter($dbname, $filter, $max_tables);
    /**
     * @param string $dbname
     * @param string $tbl_name
     * @param \metastore\Table $new_tbl
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function alter_table($dbname, $tbl_name, \metastore\Table $new_tbl);
    /**
     * @param string $dbname
     * @param string $tbl_name
     * @param \metastore\Table $new_tbl
     * @param \metastore\EnvironmentContext $environment_context
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function alter_table_with_environment_context($dbname, $tbl_name, \metastore\Table $new_tbl, \metastore\EnvironmentContext $environment_context);
    /**
     * @param string $dbname
     * @param string $tbl_name
     * @param \metastore\Table $new_tbl
     * @param bool $cascade
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function alter_table_with_cascade($dbname, $tbl_name, \metastore\Table $new_tbl, $cascade);
    /**
     * @param \metastore\AlterTableRequest $req
     * @return \metastore\AlterTableResponse
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function alter_table_req(\metastore\AlterTableRequest $req);
    /**
     * @param \metastore\Partition $new_part
     * @return \metastore\Partition
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\MetaException
     */
    public function add_partition(\metastore\Partition $new_part);
    /**
     * @param \metastore\Partition $new_part
     * @param \metastore\EnvironmentContext $environment_context
     * @return \metastore\Partition
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\MetaException
     */
    public function add_partition_with_environment_context(\metastore\Partition $new_part, \metastore\EnvironmentContext $environment_context);
    /**
     * @param \metastore\Partition[] $new_parts
     * @return int
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\MetaException
     */
    public function add_partitions(array $new_parts);
    /**
     * @param \metastore\PartitionSpec[] $new_parts
     * @return int
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\MetaException
     */
    public function add_partitions_pspec(array $new_parts);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string[] $part_vals
     * @return \metastore\Partition
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\MetaException
     */
    public function append_partition($db_name, $tbl_name, array $part_vals);
    /**
     * @param \metastore\AddPartitionsRequest $request
     * @return \metastore\AddPartitionsResult
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\MetaException
     */
    public function add_partitions_req(\metastore\AddPartitionsRequest $request);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string[] $part_vals
     * @param \metastore\EnvironmentContext $environment_context
     * @return \metastore\Partition
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\MetaException
     */
    public function append_partition_with_environment_context($db_name, $tbl_name, array $part_vals, \metastore\EnvironmentContext $environment_context);
    /**
     * @param \metastore\AppendPartitionsRequest $appendPartitionsReq
     * @return \metastore\Partition
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\MetaException
     */
    public function append_partition_req(\metastore\AppendPartitionsRequest $appendPartitionsReq);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string $part_name
     * @return \metastore\Partition
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\MetaException
     */
    public function append_partition_by_name($db_name, $tbl_name, $part_name);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string $part_name
     * @param \metastore\EnvironmentContext $environment_context
     * @return \metastore\Partition
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\MetaException
     */
    public function append_partition_by_name_with_environment_context($db_name, $tbl_name, $part_name, \metastore\EnvironmentContext $environment_context);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string[] $part_vals
     * @param bool $deleteData
     * @return bool
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function drop_partition($db_name, $tbl_name, array $part_vals, $deleteData);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string[] $part_vals
     * @param bool $deleteData
     * @param \metastore\EnvironmentContext $environment_context
     * @return bool
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function drop_partition_with_environment_context($db_name, $tbl_name, array $part_vals, $deleteData, \metastore\EnvironmentContext $environment_context);
    /**
     * @param \metastore\DropPartitionRequest $dropPartitionReq
     * @return bool
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function drop_partition_req(\metastore\DropPartitionRequest $dropPartitionReq);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string $part_name
     * @param bool $deleteData
     * @return bool
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function drop_partition_by_name($db_name, $tbl_name, $part_name, $deleteData);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string $part_name
     * @param bool $deleteData
     * @param \metastore\EnvironmentContext $environment_context
     * @return bool
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function drop_partition_by_name_with_environment_context($db_name, $tbl_name, $part_name, $deleteData, \metastore\EnvironmentContext $environment_context);
    /**
     * @param \metastore\DropPartitionsRequest $req
     * @return \metastore\DropPartitionsResult
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function drop_partitions_req(\metastore\DropPartitionsRequest $req);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string[] $part_vals
     * @return \metastore\Partition
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_partition($db_name, $tbl_name, array $part_vals);
    /**
     * @param \metastore\GetPartitionRequest $req
     * @return \metastore\GetPartitionResponse
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_partition_req(\metastore\GetPartitionRequest $req);
    /**
     * @param array $partitionSpecs
     * @param string $source_db
     * @param string $source_table_name
     * @param string $dest_db
     * @param string $dest_table_name
     * @return \metastore\Partition
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\InvalidInputException
     */
    public function exchange_partition(array $partitionSpecs, $source_db, $source_table_name, $dest_db, $dest_table_name);
    /**
     * @param array $partitionSpecs
     * @param string $source_db
     * @param string $source_table_name
     * @param string $dest_db
     * @param string $dest_table_name
     * @return \metastore\Partition[]
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\InvalidInputException
     */
    public function exchange_partitions(array $partitionSpecs, $source_db, $source_table_name, $dest_db, $dest_table_name);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string[] $part_vals
     * @param string $user_name
     * @param string[] $group_names
     * @return \metastore\Partition
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_partition_with_auth($db_name, $tbl_name, array $part_vals, $user_name, array $group_names);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string $part_name
     * @return \metastore\Partition
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_partition_by_name($db_name, $tbl_name, $part_name);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param int $max_parts
     * @return \metastore\Partition[]
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_partitions($db_name, $tbl_name, $max_parts);
    /**
     * @param \metastore\PartitionsRequest $req
     * @return \metastore\PartitionsResponse
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_partitions_req(\metastore\PartitionsRequest $req);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param int $max_parts
     * @param string $user_name
     * @param string[] $group_names
     * @return \metastore\Partition[]
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_partitions_with_auth($db_name, $tbl_name, $max_parts, $user_name, array $group_names);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param int $max_parts
     * @return \metastore\PartitionSpec[]
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_partitions_pspec($db_name, $tbl_name, $max_parts);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param int $max_parts
     * @return string[]
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_partition_names($db_name, $tbl_name, $max_parts);
    /**
     * @param \metastore\PartitionsRequest $partitionReq
     * @return string[]
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function fetch_partition_names_req(\metastore\PartitionsRequest $partitionReq);
    /**
     * @param \metastore\PartitionValuesRequest $request
     * @return \metastore\PartitionValuesResponse
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_partition_values(\metastore\PartitionValuesRequest $request);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string[] $part_vals
     * @param int $max_parts
     * @return \metastore\Partition[]
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_partitions_ps($db_name, $tbl_name, array $part_vals, $max_parts);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string[] $part_vals
     * @param int $max_parts
     * @param string $user_name
     * @param string[] $group_names
     * @return \metastore\Partition[]
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_partitions_ps_with_auth($db_name, $tbl_name, array $part_vals, $max_parts, $user_name, array $group_names);
    /**
     * @param \metastore\GetPartitionsPsWithAuthRequest $req
     * @return \metastore\GetPartitionsPsWithAuthResponse
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_partitions_ps_with_auth_req(\metastore\GetPartitionsPsWithAuthRequest $req);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string[] $part_vals
     * @param int $max_parts
     * @return string[]
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_partition_names_ps($db_name, $tbl_name, array $part_vals, $max_parts);
    /**
     * @param \metastore\GetPartitionNamesPsRequest $req
     * @return \metastore\GetPartitionNamesPsResponse
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_partition_names_ps_req(\metastore\GetPartitionNamesPsRequest $req);
    /**
     * @param \metastore\PartitionsByExprRequest $req
     * @return string[]
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_partition_names_req(\metastore\PartitionsByExprRequest $req);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string $filter
     * @param int $max_parts
     * @return \metastore\Partition[]
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_partitions_by_filter($db_name, $tbl_name, $filter, $max_parts);
    /**
     * @param \metastore\GetPartitionsByFilterRequest $req
     * @return \metastore\Partition[]
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_partitions_by_filter_req(\metastore\GetPartitionsByFilterRequest $req);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string $filter
     * @param int $max_parts
     * @return \metastore\PartitionSpec[]
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_part_specs_by_filter($db_name, $tbl_name, $filter, $max_parts);
    /**
     * @param \metastore\PartitionsByExprRequest $req
     * @return \metastore\PartitionsByExprResult
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_partitions_by_expr(\metastore\PartitionsByExprRequest $req);
    /**
     * @param \metastore\PartitionsByExprRequest $req
     * @return \metastore\PartitionsSpecByExprResult
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_partitions_spec_by_expr(\metastore\PartitionsByExprRequest $req);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string $filter
     * @return int
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_num_partitions_by_filter($db_name, $tbl_name, $filter);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string[] $names
     * @return \metastore\Partition[]
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     */
    public function get_partitions_by_names($db_name, $tbl_name, array $names);
    /**
     * @param \metastore\GetPartitionsByNamesRequest $req
     * @return \metastore\GetPartitionsByNamesResult
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     */
    public function get_partitions_by_names_req(\metastore\GetPartitionsByNamesRequest $req);
    /**
     * @param \metastore\PropertyGetRequest $req
     * @return \metastore\PropertyGetResponse
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_properties(\metastore\PropertyGetRequest $req);
    /**
     * @param \metastore\PropertySetRequest $req
     * @return bool
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function set_properties(\metastore\PropertySetRequest $req);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param \metastore\Partition $new_part
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function alter_partition($db_name, $tbl_name, \metastore\Partition $new_part);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param \metastore\Partition[] $new_parts
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function alter_partitions($db_name, $tbl_name, array $new_parts);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param \metastore\Partition[] $new_parts
     * @param \metastore\EnvironmentContext $environment_context
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function alter_partitions_with_environment_context($db_name, $tbl_name, array $new_parts, \metastore\EnvironmentContext $environment_context);
    /**
     * @param \metastore\AlterPartitionsRequest $req
     * @return \metastore\AlterPartitionsResponse
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function alter_partitions_req(\metastore\AlterPartitionsRequest $req);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param \metastore\Partition $new_part
     * @param \metastore\EnvironmentContext $environment_context
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function alter_partition_with_environment_context($db_name, $tbl_name, \metastore\Partition $new_part, \metastore\EnvironmentContext $environment_context);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string[] $part_vals
     * @param \metastore\Partition $new_part
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function rename_partition($db_name, $tbl_name, array $part_vals, \metastore\Partition $new_part);
    /**
     * @param \metastore\RenamePartitionRequest $req
     * @return \metastore\RenamePartitionResponse
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function rename_partition_req(\metastore\RenamePartitionRequest $req);
    /**
     * @param string[] $part_vals
     * @param bool $throw_exception
     * @return bool
     * @throws \metastore\MetaException
     */
    public function partition_name_has_valid_characters(array $part_vals, $throw_exception);
    /**
     * @param string $name
     * @param string $defaultValue
     * @return string
     * @throws \metastore\ConfigValSecurityException
     */
    public function get_config_value($name, $defaultValue);
    /**
     * @param string $part_name
     * @return string[]
     * @throws \metastore\MetaException
     */
    public function partition_name_to_vals($part_name);
    /**
     * @param string $part_name
     * @return array
     * @throws \metastore\MetaException
     */
    public function partition_name_to_spec($part_name);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param array $part_vals
     * @param int $eventType
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\UnknownDBException
     * @throws \metastore\UnknownTableException
     * @throws \metastore\UnknownPartitionException
     * @throws \metastore\InvalidPartitionException
     */
    public function markPartitionForEvent($db_name, $tbl_name, array $part_vals, $eventType);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param array $part_vals
     * @param int $eventType
     * @return bool
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\UnknownDBException
     * @throws \metastore\UnknownTableException
     * @throws \metastore\UnknownPartitionException
     * @throws \metastore\InvalidPartitionException
     */
    public function isPartitionMarkedForEvent($db_name, $tbl_name, array $part_vals, $eventType);
    /**
     * @param \metastore\PrimaryKeysRequest $request
     * @return \metastore\PrimaryKeysResponse
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_primary_keys(\metastore\PrimaryKeysRequest $request);
    /**
     * @param \metastore\ForeignKeysRequest $request
     * @return \metastore\ForeignKeysResponse
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_foreign_keys(\metastore\ForeignKeysRequest $request);
    /**
     * @param \metastore\UniqueConstraintsRequest $request
     * @return \metastore\UniqueConstraintsResponse
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_unique_constraints(\metastore\UniqueConstraintsRequest $request);
    /**
     * @param \metastore\NotNullConstraintsRequest $request
     * @return \metastore\NotNullConstraintsResponse
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_not_null_constraints(\metastore\NotNullConstraintsRequest $request);
    /**
     * @param \metastore\DefaultConstraintsRequest $request
     * @return \metastore\DefaultConstraintsResponse
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_default_constraints(\metastore\DefaultConstraintsRequest $request);
    /**
     * @param \metastore\CheckConstraintsRequest $request
     * @return \metastore\CheckConstraintsResponse
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_check_constraints(\metastore\CheckConstraintsRequest $request);
    /**
     * @param \metastore\AllTableConstraintsRequest $request
     * @return \metastore\AllTableConstraintsResponse
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_all_table_constraints(\metastore\AllTableConstraintsRequest $request);
    /**
     * @param \metastore\ColumnStatistics $stats_obj
     * @return bool
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidInputException
     */
    public function update_table_column_statistics(\metastore\ColumnStatistics $stats_obj);
    /**
     * @param \metastore\ColumnStatistics $stats_obj
     * @return bool
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidInputException
     */
    public function update_partition_column_statistics(\metastore\ColumnStatistics $stats_obj);
    /**
     * @param \metastore\SetPartitionsStatsRequest $req
     * @return \metastore\SetPartitionsStatsResponse
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidInputException
     */
    public function update_table_column_statistics_req(\metastore\SetPartitionsStatsRequest $req);
    /**
     * @param \metastore\SetPartitionsStatsRequest $req
     * @return \metastore\SetPartitionsStatsResponse
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidInputException
     */
    public function update_partition_column_statistics_req(\metastore\SetPartitionsStatsRequest $req);
    /**
     * @param \metastore\UpdateTransactionalStatsRequest $req
     * @throws \metastore\MetaException
     */
    public function update_transaction_statistics(\metastore\UpdateTransactionalStatsRequest $req);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string $col_name
     * @return \metastore\ColumnStatistics
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidInputException
     * @throws \metastore\InvalidObjectException
     */
    public function get_table_column_statistics($db_name, $tbl_name, $col_name);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string $part_name
     * @param string $col_name
     * @return \metastore\ColumnStatistics
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidInputException
     * @throws \metastore\InvalidObjectException
     */
    public function get_partition_column_statistics($db_name, $tbl_name, $part_name, $col_name);
    /**
     * @param \metastore\TableStatsRequest $request
     * @return \metastore\TableStatsResult
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_table_statistics_req(\metastore\TableStatsRequest $request);
    /**
     * @param \metastore\PartitionsStatsRequest $request
     * @return \metastore\PartitionsStatsResult
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_partitions_statistics_req(\metastore\PartitionsStatsRequest $request);
    /**
     * @param \metastore\PartitionsStatsRequest $request
     * @return \metastore\AggrStats
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_aggr_stats_for(\metastore\PartitionsStatsRequest $request);
    /**
     * @param \metastore\SetPartitionsStatsRequest $request
     * @return bool
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidInputException
     */
    public function set_aggr_stats_for(\metastore\SetPartitionsStatsRequest $request);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string $part_name
     * @param string $col_name
     * @param string $engine
     * @return bool
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\InvalidInputException
     */
    public function delete_partition_column_statistics($db_name, $tbl_name, $part_name, $col_name, $engine);
    /**
     * @param string $db_name
     * @param string $tbl_name
     * @param string $col_name
     * @param string $engine
     * @return bool
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\InvalidInputException
     */
    public function delete_table_column_statistics($db_name, $tbl_name, $col_name, $engine);
    /**
     * @param \metastore\DeleteColumnStatisticsRequest $req
     * @return bool
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\InvalidInputException
     */
    public function delete_column_statistics_req(\metastore\DeleteColumnStatisticsRequest $req);
    /**
     * @param \metastore\Function $func
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function create_function(\metastore\Function $func);
    /**
     * @param string $dbName
     * @param string $funcName
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function drop_function($dbName, $funcName);
    /**
     * @param string $dbName
     * @param string $funcName
     * @param \metastore\Function $newFunc
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function alter_function($dbName, $funcName, \metastore\Function $newFunc);
    /**
     * @param string $dbName
     * @param string $pattern
     * @return string[]
     * @throws \metastore\MetaException
     */
    public function get_functions($dbName, $pattern);
    /**
     * @param \metastore\GetFunctionsRequest $request
     * @return \metastore\GetFunctionsResponse
     * @throws \metastore\MetaException
     */
    public function get_functions_req(\metastore\GetFunctionsRequest $request);
    /**
     * @param string $dbName
     * @param string $funcName
     * @return \metastore\Function
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_function($dbName, $funcName);
    /**
     * @return \metastore\GetAllFunctionsResponse
     * @throws \metastore\MetaException
     */
    public function get_all_functions();
    /**
     * @param \metastore\Role $role
     * @return bool
     * @throws \metastore\MetaException
     */
    public function create_role(\metastore\Role $role);
    /**
     * @param string $role_name
     * @return bool
     * @throws \metastore\MetaException
     */
    public function drop_role($role_name);
    /**
     * @return string[]
     * @throws \metastore\MetaException
     */
    public function get_role_names();
    /**
     * @param string $role_name
     * @param string $principal_name
     * @param int $principal_type
     * @param string $grantor
     * @param int $grantorType
     * @param bool $grant_option
     * @return bool
     * @throws \metastore\MetaException
     */
    public function grant_role($role_name, $principal_name, $principal_type, $grantor, $grantorType, $grant_option);
    /**
     * @param string $role_name
     * @param string $principal_name
     * @param int $principal_type
     * @return bool
     * @throws \metastore\MetaException
     */
    public function revoke_role($role_name, $principal_name, $principal_type);
    /**
     * @param string $principal_name
     * @param int $principal_type
     * @return \metastore\Role[]
     * @throws \metastore\MetaException
     */
    public function list_roles($principal_name, $principal_type);
    /**
     * @param \metastore\GrantRevokeRoleRequest $request
     * @return \metastore\GrantRevokeRoleResponse
     * @throws \metastore\MetaException
     */
    public function grant_revoke_role(\metastore\GrantRevokeRoleRequest $request);
    /**
     * @param \metastore\GetPrincipalsInRoleRequest $request
     * @return \metastore\GetPrincipalsInRoleResponse
     * @throws \metastore\MetaException
     */
    public function get_principals_in_role(\metastore\GetPrincipalsInRoleRequest $request);
    /**
     * @param \metastore\GetRoleGrantsForPrincipalRequest $request
     * @return \metastore\GetRoleGrantsForPrincipalResponse
     * @throws \metastore\MetaException
     */
    public function get_role_grants_for_principal(\metastore\GetRoleGrantsForPrincipalRequest $request);
    /**
     * @param \metastore\HiveObjectRef $hiveObject
     * @param string $user_name
     * @param string[] $group_names
     * @return \metastore\PrincipalPrivilegeSet
     * @throws \metastore\MetaException
     */
    public function get_privilege_set(\metastore\HiveObjectRef $hiveObject, $user_name, array $group_names);
    /**
     * @param string $principal_name
     * @param int $principal_type
     * @param \metastore\HiveObjectRef $hiveObject
     * @return \metastore\HiveObjectPrivilege[]
     * @throws \metastore\MetaException
     */
    public function list_privileges($principal_name, $principal_type, \metastore\HiveObjectRef $hiveObject);
    /**
     * @param \metastore\PrivilegeBag $privileges
     * @return bool
     * @throws \metastore\MetaException
     */
    public function grant_privileges(\metastore\PrivilegeBag $privileges);
    /**
     * @param \metastore\PrivilegeBag $privileges
     * @return bool
     * @throws \metastore\MetaException
     */
    public function revoke_privileges(\metastore\PrivilegeBag $privileges);
    /**
     * @param \metastore\GrantRevokePrivilegeRequest $request
     * @return \metastore\GrantRevokePrivilegeResponse
     * @throws \metastore\MetaException
     */
    public function grant_revoke_privileges(\metastore\GrantRevokePrivilegeRequest $request);
    /**
     * @param \metastore\HiveObjectRef $objToRefresh
     * @param string $authorizer
     * @param \metastore\GrantRevokePrivilegeRequest $grantRequest
     * @return \metastore\GrantRevokePrivilegeResponse
     * @throws \metastore\MetaException
     */
    public function refresh_privileges(\metastore\HiveObjectRef $objToRefresh, $authorizer, \metastore\GrantRevokePrivilegeRequest $grantRequest);
    /**
     * @param string $user_name
     * @param string[] $group_names
     * @return string[]
     * @throws \metastore\MetaException
     */
    public function set_ugi($user_name, array $group_names);
    /**
     * @param string $token_owner
     * @param string $renewer_kerberos_principal_name
     * @return string
     * @throws \metastore\MetaException
     */
    public function get_delegation_token($token_owner, $renewer_kerberos_principal_name);
    /**
     * @param string $token_str_form
     * @return int
     * @throws \metastore\MetaException
     */
    public function renew_delegation_token($token_str_form);
    /**
     * @param string $token_str_form
     * @throws \metastore\MetaException
     */
    public function cancel_delegation_token($token_str_form);
    /**
     * @param string $token_identifier
     * @param string $delegation_token
     * @return bool
     */
    public function add_token($token_identifier, $delegation_token);
    /**
     * @param string $token_identifier
     * @return bool
     */
    public function remove_token($token_identifier);
    /**
     * @param string $token_identifier
     * @return string
     */
    public function get_token($token_identifier);
    /**
     * @return string[]
     */
    public function get_all_token_identifiers();
    /**
     * @param string $key
     * @return int
     * @throws \metastore\MetaException
     */
    public function add_master_key($key);
    /**
     * @param int $seq_number
     * @param string $key
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function update_master_key($seq_number, $key);
    /**
     * @param int $key_seq
     * @return bool
     */
    public function remove_master_key($key_seq);
    /**
     * @return string[]
     */
    public function get_master_keys();
    /**
     * @return \metastore\GetOpenTxnsResponse
     */
    public function get_open_txns();
    /**
     * @return \metastore\GetOpenTxnsInfoResponse
     */
    public function get_open_txns_info();
    /**
     * @param \metastore\OpenTxnRequest $rqst
     * @return \metastore\OpenTxnsResponse
     */
    public function open_txns(\metastore\OpenTxnRequest $rqst);
    /**
     * @param \metastore\AbortTxnRequest $rqst
     * @throws \metastore\NoSuchTxnException
     */
    public function abort_txn(\metastore\AbortTxnRequest $rqst);
    /**
     * @param \metastore\AbortTxnsRequest $rqst
     * @throws \metastore\NoSuchTxnException
     */
    public function abort_txns(\metastore\AbortTxnsRequest $rqst);
    /**
     * @param \metastore\CommitTxnRequest $rqst
     * @throws \metastore\NoSuchTxnException
     * @throws \metastore\TxnAbortedException
     */
    public function commit_txn(\metastore\CommitTxnRequest $rqst);
    /**
     * @param int $txnId
     * @return int
     * @throws \metastore\MetaException
     */
    public function get_latest_txnid_in_conflict($txnId);
    /**
     * @param \metastore\ReplTblWriteIdStateRequest $rqst
     */
    public function repl_tbl_writeid_state(\metastore\ReplTblWriteIdStateRequest $rqst);
    /**
     * @param \metastore\GetValidWriteIdsRequest $rqst
     * @return \metastore\GetValidWriteIdsResponse
     * @throws \metastore\NoSuchTxnException
     * @throws \metastore\MetaException
     */
    public function get_valid_write_ids(\metastore\GetValidWriteIdsRequest $rqst);
    /**
     * @param int $txnId
     * @param array $writeIds
     * @throws \metastore\MetaException
     */
    public function add_write_ids_to_min_history($txnId, array $writeIds);
    /**
     * @param \metastore\AllocateTableWriteIdsRequest $rqst
     * @return \metastore\AllocateTableWriteIdsResponse
     * @throws \metastore\NoSuchTxnException
     * @throws \metastore\TxnAbortedException
     * @throws \metastore\MetaException
     */
    public function allocate_table_write_ids(\metastore\AllocateTableWriteIdsRequest $rqst);
    /**
     * @param \metastore\MaxAllocatedTableWriteIdRequest $rqst
     * @return \metastore\MaxAllocatedTableWriteIdResponse
     * @throws \metastore\MetaException
     */
    public function get_max_allocated_table_write_id(\metastore\MaxAllocatedTableWriteIdRequest $rqst);
    /**
     * @param \metastore\SeedTableWriteIdsRequest $rqst
     * @throws \metastore\MetaException
     */
    public function seed_write_id(\metastore\SeedTableWriteIdsRequest $rqst);
    /**
     * @param \metastore\SeedTxnIdRequest $rqst
     * @throws \metastore\MetaException
     */
    public function seed_txn_id(\metastore\SeedTxnIdRequest $rqst);
    /**
     * @param \metastore\LockRequest $rqst
     * @return \metastore\LockResponse
     * @throws \metastore\NoSuchTxnException
     * @throws \metastore\TxnAbortedException
     */
    public function lock(\metastore\LockRequest $rqst);
    /**
     * @param \metastore\CheckLockRequest $rqst
     * @return \metastore\LockResponse
     * @throws \metastore\NoSuchTxnException
     * @throws \metastore\TxnAbortedException
     * @throws \metastore\NoSuchLockException
     */
    public function check_lock(\metastore\CheckLockRequest $rqst);
    /**
     * @param \metastore\UnlockRequest $rqst
     * @throws \metastore\NoSuchLockException
     * @throws \metastore\TxnOpenException
     */
    public function unlock(\metastore\UnlockRequest $rqst);
    /**
     * @param \metastore\ShowLocksRequest $rqst
     * @return \metastore\ShowLocksResponse
     */
    public function show_locks(\metastore\ShowLocksRequest $rqst);
    /**
     * @param \metastore\HeartbeatRequest $ids
     * @throws \metastore\NoSuchLockException
     * @throws \metastore\NoSuchTxnException
     * @throws \metastore\TxnAbortedException
     */
    public function heartbeat(\metastore\HeartbeatRequest $ids);
    /**
     * @param \metastore\HeartbeatTxnRangeRequest $txns
     * @return \metastore\HeartbeatTxnRangeResponse
     */
    public function heartbeat_txn_range(\metastore\HeartbeatTxnRangeRequest $txns);
    /**
     * @param \metastore\CompactionRequest $rqst
     */
    public function compact(\metastore\CompactionRequest $rqst);
    /**
     * @param \metastore\CompactionRequest $rqst
     * @return \metastore\CompactionResponse
     */
    public function compact2(\metastore\CompactionRequest $rqst);
    /**
     * @param \metastore\ShowCompactRequest $rqst
     * @return \metastore\ShowCompactResponse
     */
    public function show_compact(\metastore\ShowCompactRequest $rqst);
    /**
     * @param \metastore\CompactionRequest $o1
     * @param int $o2
     * @param int $o3
     * @return bool
     * @throws \metastore\MetaException
     */
    public function submit_for_cleanup(\metastore\CompactionRequest $o1, $o2, $o3);
    /**
     * @param \metastore\AddDynamicPartitions $rqst
     * @throws \metastore\NoSuchTxnException
     * @throws \metastore\TxnAbortedException
     */
    public function add_dynamic_partitions(\metastore\AddDynamicPartitions $rqst);
    /**
     * @param string $workerId
     * @return \metastore\OptionalCompactionInfoStruct
     * @throws \metastore\MetaException
     */
    public function find_next_compact($workerId);
    /**
     * @param \metastore\FindNextCompactRequest $rqst
     * @return \metastore\OptionalCompactionInfoStruct
     * @throws \metastore\MetaException
     */
    public function find_next_compact2(\metastore\FindNextCompactRequest $rqst);
    /**
     * @param \metastore\CompactionInfoStruct $cr
     * @param int $txn_id
     */
    public function update_compactor_state(\metastore\CompactionInfoStruct $cr, $txn_id);
    /**
     * @param \metastore\CompactionInfoStruct $cr
     * @return string[]
     */
    public function find_columns_with_stats(\metastore\CompactionInfoStruct $cr);
    /**
     * @param \metastore\CompactionInfoStruct $cr
     * @throws \metastore\MetaException
     */
    public function mark_cleaned(\metastore\CompactionInfoStruct $cr);
    /**
     * @param \metastore\CompactionInfoStruct $cr
     * @throws \metastore\MetaException
     */
    public function mark_compacted(\metastore\CompactionInfoStruct $cr);
    /**
     * @param \metastore\CompactionInfoStruct $cr
     * @throws \metastore\MetaException
     */
    public function mark_failed(\metastore\CompactionInfoStruct $cr);
    /**
     * @param \metastore\CompactionInfoStruct $cr
     * @throws \metastore\MetaException
     */
    public function mark_refused(\metastore\CompactionInfoStruct $cr);
    /**
     * @param \metastore\CompactionMetricsDataStruct $data
     * @return bool
     * @throws \metastore\MetaException
     */
    public function update_compaction_metrics_data(\metastore\CompactionMetricsDataStruct $data);
    /**
     * @param \metastore\CompactionMetricsDataRequest $request
     * @throws \metastore\MetaException
     */
    public function remove_compaction_metrics_data(\metastore\CompactionMetricsDataRequest $request);
    /**
     * @param string $jobId
     * @param int $cq_id
     */
    public function set_hadoop_jobid($jobId, $cq_id);
    /**
     * @param \metastore\GetLatestCommittedCompactionInfoRequest $rqst
     * @return \metastore\GetLatestCommittedCompactionInfoResponse
     */
    public function get_latest_committed_compaction_info(\metastore\GetLatestCommittedCompactionInfoRequest $rqst);
    /**
     * @param \metastore\NotificationEventRequest $rqst
     * @return \metastore\NotificationEventResponse
     */
    public function get_next_notification(\metastore\NotificationEventRequest $rqst);
    /**
     * @return \metastore\CurrentNotificationEventId
     */
    public function get_current_notificationEventId();
    /**
     * @param \metastore\NotificationEventsCountRequest $rqst
     * @return \metastore\NotificationEventsCountResponse
     */
    public function get_notification_events_count(\metastore\NotificationEventsCountRequest $rqst);
    /**
     * @param \metastore\FireEventRequest $rqst
     * @return \metastore\FireEventResponse
     */
    public function fire_listener_event(\metastore\FireEventRequest $rqst);
    /**
     */
    public function flushCache();
    /**
     * @param \metastore\WriteNotificationLogRequest $rqst
     * @return \metastore\WriteNotificationLogResponse
     */
    public function add_write_notification_log(\metastore\WriteNotificationLogRequest $rqst);
    /**
     * @param \metastore\WriteNotificationLogBatchRequest $rqst
     * @return \metastore\WriteNotificationLogBatchResponse
     */
    public function add_write_notification_log_in_batch(\metastore\WriteNotificationLogBatchRequest $rqst);
    /**
     * @param \metastore\CmRecycleRequest $request
     * @return \metastore\CmRecycleResponse
     * @throws \metastore\MetaException
     */
    public function cm_recycle(\metastore\CmRecycleRequest $request);
    /**
     * @param \metastore\GetFileMetadataByExprRequest $req
     * @return \metastore\GetFileMetadataByExprResult
     */
    public function get_file_metadata_by_expr(\metastore\GetFileMetadataByExprRequest $req);
    /**
     * @param \metastore\GetFileMetadataRequest $req
     * @return \metastore\GetFileMetadataResult
     */
    public function get_file_metadata(\metastore\GetFileMetadataRequest $req);
    /**
     * @param \metastore\PutFileMetadataRequest $req
     * @return \metastore\PutFileMetadataResult
     */
    public function put_file_metadata(\metastore\PutFileMetadataRequest $req);
    /**
     * @param \metastore\ClearFileMetadataRequest $req
     * @return \metastore\ClearFileMetadataResult
     */
    public function clear_file_metadata(\metastore\ClearFileMetadataRequest $req);
    /**
     * @param \metastore\CacheFileMetadataRequest $req
     * @return \metastore\CacheFileMetadataResult
     */
    public function cache_file_metadata(\metastore\CacheFileMetadataRequest $req);
    /**
     * @return string
     * @throws \metastore\MetaException
     */
    public function get_metastore_db_uuid();
    /**
     * @param \metastore\WMCreateResourcePlanRequest $request
     * @return \metastore\WMCreateResourcePlanResponse
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     */
    public function create_resource_plan(\metastore\WMCreateResourcePlanRequest $request);
    /**
     * @param \metastore\WMGetResourcePlanRequest $request
     * @return \metastore\WMGetResourcePlanResponse
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_resource_plan(\metastore\WMGetResourcePlanRequest $request);
    /**
     * @param \metastore\WMGetActiveResourcePlanRequest $request
     * @return \metastore\WMGetActiveResourcePlanResponse
     * @throws \metastore\MetaException
     */
    public function get_active_resource_plan(\metastore\WMGetActiveResourcePlanRequest $request);
    /**
     * @param \metastore\WMGetAllResourcePlanRequest $request
     * @return \metastore\WMGetAllResourcePlanResponse
     * @throws \metastore\MetaException
     */
    public function get_all_resource_plans(\metastore\WMGetAllResourcePlanRequest $request);
    /**
     * @param \metastore\WMAlterResourcePlanRequest $request
     * @return \metastore\WMAlterResourcePlanResponse
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function alter_resource_plan(\metastore\WMAlterResourcePlanRequest $request);
    /**
     * @param \metastore\WMValidateResourcePlanRequest $request
     * @return \metastore\WMValidateResourcePlanResponse
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function validate_resource_plan(\metastore\WMValidateResourcePlanRequest $request);
    /**
     * @param \metastore\WMDropResourcePlanRequest $request
     * @return \metastore\WMDropResourcePlanResponse
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function drop_resource_plan(\metastore\WMDropResourcePlanRequest $request);
    /**
     * @param \metastore\WMCreateTriggerRequest $request
     * @return \metastore\WMCreateTriggerResponse
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     */
    public function create_wm_trigger(\metastore\WMCreateTriggerRequest $request);
    /**
     * @param \metastore\WMAlterTriggerRequest $request
     * @return \metastore\WMAlterTriggerResponse
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     */
    public function alter_wm_trigger(\metastore\WMAlterTriggerRequest $request);
    /**
     * @param \metastore\WMDropTriggerRequest $request
     * @return \metastore\WMDropTriggerResponse
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function drop_wm_trigger(\metastore\WMDropTriggerRequest $request);
    /**
     * @param \metastore\WMGetTriggersForResourePlanRequest $request
     * @return \metastore\WMGetTriggersForResourePlanResponse
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_triggers_for_resourceplan(\metastore\WMGetTriggersForResourePlanRequest $request);
    /**
     * @param \metastore\WMCreatePoolRequest $request
     * @return \metastore\WMCreatePoolResponse
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     */
    public function create_wm_pool(\metastore\WMCreatePoolRequest $request);
    /**
     * @param \metastore\WMAlterPoolRequest $request
     * @return \metastore\WMAlterPoolResponse
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     */
    public function alter_wm_pool(\metastore\WMAlterPoolRequest $request);
    /**
     * @param \metastore\WMDropPoolRequest $request
     * @return \metastore\WMDropPoolResponse
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function drop_wm_pool(\metastore\WMDropPoolRequest $request);
    /**
     * @param \metastore\WMCreateOrUpdateMappingRequest $request
     * @return \metastore\WMCreateOrUpdateMappingResponse
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     */
    public function create_or_update_wm_mapping(\metastore\WMCreateOrUpdateMappingRequest $request);
    /**
     * @param \metastore\WMDropMappingRequest $request
     * @return \metastore\WMDropMappingResponse
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function drop_wm_mapping(\metastore\WMDropMappingRequest $request);
    /**
     * @param \metastore\WMCreateOrDropTriggerToPoolMappingRequest $request
     * @return \metastore\WMCreateOrDropTriggerToPoolMappingResponse
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidObjectException
     * @throws \metastore\MetaException
     */
    public function create_or_drop_wm_trigger_to_pool_mapping(\metastore\WMCreateOrDropTriggerToPoolMappingRequest $request);
    /**
     * @param \metastore\ISchema $schema
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function create_ischema(\metastore\ISchema $schema);
    /**
     * @param \metastore\AlterISchemaRequest $rqst
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function alter_ischema(\metastore\AlterISchemaRequest $rqst);
    /**
     * @param \metastore\ISchemaName $name
     * @return \metastore\ISchema
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_ischema(\metastore\ISchemaName $name);
    /**
     * @param \metastore\ISchemaName $name
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function drop_ischema(\metastore\ISchemaName $name);
    /**
     * @param \metastore\SchemaVersion $schemaVersion
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function add_schema_version(\metastore\SchemaVersion $schemaVersion);
    /**
     * @param \metastore\SchemaVersionDescriptor $schemaVersion
     * @return \metastore\SchemaVersion
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_schema_version(\metastore\SchemaVersionDescriptor $schemaVersion);
    /**
     * @param \metastore\ISchemaName $schemaName
     * @return \metastore\SchemaVersion
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_schema_latest_version(\metastore\ISchemaName $schemaName);
    /**
     * @param \metastore\ISchemaName $schemaName
     * @return \metastore\SchemaVersion[]
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_schema_all_versions(\metastore\ISchemaName $schemaName);
    /**
     * @param \metastore\SchemaVersionDescriptor $schemaVersion
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function drop_schema_version(\metastore\SchemaVersionDescriptor $schemaVersion);
    /**
     * @param \metastore\FindSchemasByColsRqst $rqst
     * @return \metastore\FindSchemasByColsResp
     * @throws \metastore\MetaException
     */
    public function get_schemas_by_cols(\metastore\FindSchemasByColsRqst $rqst);
    /**
     * @param \metastore\MapSchemaVersionToSerdeRequest $rqst
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function map_schema_version_to_serde(\metastore\MapSchemaVersionToSerdeRequest $rqst);
    /**
     * @param \metastore\SetSchemaVersionStateRequest $rqst
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\InvalidOperationException
     * @throws \metastore\MetaException
     */
    public function set_schema_version_state(\metastore\SetSchemaVersionStateRequest $rqst);
    /**
     * @param \metastore\SerDeInfo $serde
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\MetaException
     */
    public function add_serde(\metastore\SerDeInfo $serde);
    /**
     * @param \metastore\GetSerdeRequest $rqst
     * @return \metastore\SerDeInfo
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function get_serde(\metastore\GetSerdeRequest $rqst);
    /**
     * @param string $dbName
     * @param string $tableName
     * @param int $txnId
     * @return \metastore\LockResponse
     */
    public function get_lock_materialization_rebuild($dbName, $tableName, $txnId);
    /**
     * @param string $dbName
     * @param string $tableName
     * @param int $txnId
     * @return bool
     */
    public function heartbeat_lock_materialization_rebuild($dbName, $tableName, $txnId);
    /**
     * @param \metastore\RuntimeStat $stat
     * @throws \metastore\MetaException
     */
    public function add_runtime_stats(\metastore\RuntimeStat $stat);
    /**
     * @param \metastore\GetRuntimeStatsRequest $rqst
     * @return \metastore\RuntimeStat[]
     * @throws \metastore\MetaException
     */
    public function get_runtime_stats(\metastore\GetRuntimeStatsRequest $rqst);
    /**
     * @param \metastore\GetPartitionsRequest $request
     * @return \metastore\GetPartitionsResponse
     * @throws \metastore\MetaException
     */
    public function get_partitions_with_specs(\metastore\GetPartitionsRequest $request);
    /**
     * @param \metastore\ScheduledQueryPollRequest $request
     * @return \metastore\ScheduledQueryPollResponse
     * @throws \metastore\MetaException
     */
    public function scheduled_query_poll(\metastore\ScheduledQueryPollRequest $request);
    /**
     * @param \metastore\ScheduledQueryMaintenanceRequest $request
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\AlreadyExistsException
     * @throws \metastore\InvalidInputException
     */
    public function scheduled_query_maintenance(\metastore\ScheduledQueryMaintenanceRequest $request);
    /**
     * @param \metastore\ScheduledQueryProgressInfo $info
     * @throws \metastore\MetaException
     * @throws \metastore\InvalidOperationException
     */
    public function scheduled_query_progress(\metastore\ScheduledQueryProgressInfo $info);
    /**
     * @param \metastore\ScheduledQueryKey $scheduleKey
     * @return \metastore\ScheduledQuery
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_scheduled_query(\metastore\ScheduledQueryKey $scheduleKey);
    /**
     * @param \metastore\ReplicationMetricList $replicationMetricList
     * @throws \metastore\MetaException
     */
    public function add_replication_metrics(\metastore\ReplicationMetricList $replicationMetricList);
    /**
     * @param \metastore\GetReplicationMetricsRequest $rqst
     * @return \metastore\ReplicationMetricList
     * @throws \metastore\MetaException
     */
    public function get_replication_metrics(\metastore\GetReplicationMetricsRequest $rqst);
    /**
     * @param \metastore\GetOpenTxnsRequest $getOpenTxnsRequest
     * @return \metastore\GetOpenTxnsResponse
     */
    public function get_open_txns_req(\metastore\GetOpenTxnsRequest $getOpenTxnsRequest);
    /**
     * @param \metastore\StoredProcedure $proc
     * @throws \metastore\NoSuchObjectException
     * @throws \metastore\MetaException
     */
    public function create_stored_procedure(\metastore\StoredProcedure $proc);
    /**
     * @param \metastore\StoredProcedureRequest $request
     * @return \metastore\StoredProcedure
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function get_stored_procedure(\metastore\StoredProcedureRequest $request);
    /**
     * @param \metastore\StoredProcedureRequest $request
     * @throws \metastore\MetaException
     */
    public function drop_stored_procedure(\metastore\StoredProcedureRequest $request);
    /**
     * @param \metastore\ListStoredProcedureRequest $request
     * @return string[]
     * @throws \metastore\MetaException
     */
    public function get_all_stored_procedures(\metastore\ListStoredProcedureRequest $request);
    /**
     * @param \metastore\GetPackageRequest $request
     * @return \metastore\Package
     * @throws \metastore\MetaException
     * @throws \metastore\NoSuchObjectException
     */
    public function find_package(\metastore\GetPackageRequest $request);
    /**
     * @param \metastore\AddPackageRequest $request
     * @throws \metastore\MetaException
     */
    public function add_package(\metastore\AddPackageRequest $request);
    /**
     * @param \metastore\ListPackageRequest $request
     * @return string[]
     * @throws \metastore\MetaException
     */
    public function get_all_packages(\metastore\ListPackageRequest $request);
    /**
     * @param \metastore\DropPackageRequest $request
     * @throws \metastore\MetaException
     */
    public function drop_package(\metastore\DropPackageRequest $request);
    /**
     * @param \metastore\GetAllWriteEventInfoRequest $request
     * @return \metastore\WriteEventInfo[]
     * @throws \metastore\MetaException
     */
    public function get_all_write_event_info(\metastore\GetAllWriteEventInfoRequest $request);
    /**
     * @param string $policyName
     * @return \metastore\ReplayedTxnsForPolicyResult
     * @throws \metastore\MetaException
     */
    public function get_replayed_txns_for_policy($policyName);
}
