public class CatalogServer.CatalogProtocolHandler extends Object implements CatalogProtocol.CatalogProtocolService.BlockingInterface
Constructor and Description |
---|
CatalogServer.CatalogProtocolHandler() |
public CatalogServer.CatalogProtocolHandler()
public PrimitiveProtos.BoolProto createTablespace(com.google.protobuf.RpcController controller, CatalogProtos.CreateTablespaceRequest request) throws com.google.protobuf.ServiceException
createTablespace
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto dropTablespace(com.google.protobuf.RpcController controller, PrimitiveProtos.StringProto request) throws com.google.protobuf.ServiceException
dropTablespace
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto existTablespace(com.google.protobuf.RpcController controller, PrimitiveProtos.StringProto request) throws com.google.protobuf.ServiceException
existTablespace
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.StringListProto getAllTablespaceNames(com.google.protobuf.RpcController controller, PrimitiveProtos.NullProto request) throws com.google.protobuf.ServiceException
getAllTablespaceNames
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public CatalogProtos.TablespaceProto getTablespace(com.google.protobuf.RpcController controller, PrimitiveProtos.StringProto request) throws com.google.protobuf.ServiceException
getTablespace
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto alterTablespace(com.google.protobuf.RpcController controller, CatalogProtos.AlterTablespaceProto request) throws com.google.protobuf.ServiceException
alterTablespace
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto createDatabase(com.google.protobuf.RpcController controller, CatalogProtos.CreateDatabaseRequest request) throws com.google.protobuf.ServiceException
createDatabase
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto alterTable(com.google.protobuf.RpcController controller, CatalogProtos.AlterTableDescProto proto) throws com.google.protobuf.ServiceException
alterTable
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto dropDatabase(com.google.protobuf.RpcController controller, PrimitiveProtos.StringProto request) throws com.google.protobuf.ServiceException
dropDatabase
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto existDatabase(com.google.protobuf.RpcController controller, PrimitiveProtos.StringProto request) throws com.google.protobuf.ServiceException
existDatabase
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.StringListProto getAllDatabaseNames(com.google.protobuf.RpcController controller, PrimitiveProtos.NullProto request) throws com.google.protobuf.ServiceException
getAllDatabaseNames
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public CatalogProtos.TableDescProto getTableDesc(com.google.protobuf.RpcController controller, CatalogProtos.TableIdentifierProto request) throws com.google.protobuf.ServiceException
getTableDesc
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.StringListProto getAllTableNames(com.google.protobuf.RpcController controller, PrimitiveProtos.StringProto request) throws com.google.protobuf.ServiceException
getAllTableNames
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public CatalogProtos.GetFunctionsResponse getFunctions(com.google.protobuf.RpcController controller, PrimitiveProtos.NullProto request) throws com.google.protobuf.ServiceException
getFunctions
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto createTable(com.google.protobuf.RpcController controller, CatalogProtos.TableDescProto request) throws com.google.protobuf.ServiceException
createTable
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto dropTable(com.google.protobuf.RpcController controller, CatalogProtos.TableIdentifierProto request) throws com.google.protobuf.ServiceException
dropTable
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto existsTable(com.google.protobuf.RpcController controller, CatalogProtos.TableIdentifierProto request) throws com.google.protobuf.ServiceException
existsTable
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public CatalogProtos.PartitionMethodProto getPartitionMethodByTableName(com.google.protobuf.RpcController controller, CatalogProtos.TableIdentifierProto request) throws com.google.protobuf.ServiceException
getPartitionMethodByTableName
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto existPartitionMethod(com.google.protobuf.RpcController controller, CatalogProtos.TableIdentifierProto request) throws com.google.protobuf.ServiceException
existPartitionMethod
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto dropPartitionMethod(com.google.protobuf.RpcController controller, CatalogProtos.TableIdentifierProto request) throws com.google.protobuf.ServiceException
dropPartitionMethod
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto addPartitions(com.google.protobuf.RpcController controller, CatalogProtos.PartitionsProto request) throws com.google.protobuf.ServiceException
addPartitions
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto addPartition(com.google.protobuf.RpcController controller, CatalogProtos.PartitionDescProto request) throws com.google.protobuf.ServiceException
addPartition
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public CatalogProtos.PartitionDescProto getPartitionByPartitionName(com.google.protobuf.RpcController controller, PrimitiveProtos.StringProto request) throws com.google.protobuf.ServiceException
getPartitionByPartitionName
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public CatalogProtos.PartitionsProto getPartitionsByTableName(com.google.protobuf.RpcController controller, PrimitiveProtos.StringProto request) throws com.google.protobuf.ServiceException
getPartitionsByTableName
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public CatalogProtos.PartitionsProto delAllPartitions(com.google.protobuf.RpcController controller, PrimitiveProtos.StringProto request) throws com.google.protobuf.ServiceException
delAllPartitions
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto createIndex(com.google.protobuf.RpcController controller, CatalogProtos.IndexDescProto indexDesc) throws com.google.protobuf.ServiceException
createIndex
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto existIndexByName(com.google.protobuf.RpcController controller, CatalogProtos.IndexNameProto request) throws com.google.protobuf.ServiceException
existIndexByName
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto existIndexByColumn(com.google.protobuf.RpcController controller, CatalogProtos.GetIndexByColumnRequest request) throws com.google.protobuf.ServiceException
existIndexByColumn
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public CatalogProtos.IndexDescProto getIndexByName(com.google.protobuf.RpcController controller, CatalogProtos.IndexNameProto request) throws com.google.protobuf.ServiceException
getIndexByName
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public CatalogProtos.IndexDescProto getIndexByColumn(com.google.protobuf.RpcController controller, CatalogProtos.GetIndexByColumnRequest request) throws com.google.protobuf.ServiceException
getIndexByColumn
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto dropIndex(com.google.protobuf.RpcController controller, CatalogProtos.IndexNameProto request) throws com.google.protobuf.ServiceException
dropIndex
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public boolean checkIfBuiltin(CatalogProtos.FunctionType type)
public PrimitiveProtos.BoolProto createFunction(com.google.protobuf.RpcController controller, CatalogProtos.FunctionDescProto funcDesc) throws com.google.protobuf.ServiceException
createFunction
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto dropFunction(com.google.protobuf.RpcController controller, CatalogProtos.UnregisterFunctionRequest request) throws com.google.protobuf.ServiceException
dropFunction
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public CatalogProtos.FunctionDescProto getFunctionMeta(com.google.protobuf.RpcController controller, CatalogProtos.GetFunctionMetaRequest request) throws com.google.protobuf.ServiceException
getFunctionMeta
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
public PrimitiveProtos.BoolProto containFunction(com.google.protobuf.RpcController controller, CatalogProtos.ContainFunctionRequest request) throws com.google.protobuf.ServiceException
containFunction
in interface CatalogProtocol.CatalogProtocolService.BlockingInterface
com.google.protobuf.ServiceException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.