Class com::mapd::parser::server::CalciteServerHandler

class CalciteServerHandler : public Iface

Author

michael

Public Functions

com.mapd.parser.server.CalciteServerHandler.CalciteServerHandler(int mapdPort, String dataDir, String extensionFunctionsAstFile, SockTransportProperties skT, String udfAstFile)
void com.mapd.parser.server.CalciteServerHandler.ping()
TPlanResult com.mapd.parser.server.CalciteServerHandler.process(String user, String session, String catalog, String queryText, TQueryParsingOption queryParsingOption, TOptimizationOption optimizationOption, List< TRestriction > trestrictions)
void com.mapd.parser.server.CalciteServerHandler.shutdown()
String com.mapd.parser.server.CalciteServerHandler.getExtensionFunctionWhitelist()
String com.mapd.parser.server.CalciteServerHandler.getUserDefinedFunctionWhitelist()
String com.mapd.parser.server.CalciteServerHandler.getRuntimeExtensionFunctionWhitelist()
void com.mapd.parser.server.CalciteServerHandler.updateMetadata(String catalog, String table)
List<TCompletionHint> com.mapd.parser.server.CalciteServerHandler.getCompletionHints(String user, String session, String catalog, List< String > visible_tables, String sql, int cursor)
void com.mapd.parser.server.CalciteServerHandler.setRuntimeExtensionFunctions(List< TUserDefinedFunction > udfs, List< TUserDefinedTableFunction > udtfs, boolean isruntime)

Private Members

TServer com.mapd.parser.server.CalciteServerHandler.server
final int com.mapd.parser.server.CalciteServerHandler.mapdPort
volatile long com.mapd.parser.server.CalciteServerHandler.callCount
final GenericObjectPool com.mapd.parser.server.CalciteServerHandler.parserPool
final CalciteParserFactory com.mapd.parser.server.CalciteServerHandler.calciteParserFactory
final String com.mapd.parser.server.CalciteServerHandler.extSigsJson
final String com.mapd.parser.server.CalciteServerHandler.udfSigsJson
String com.mapd.parser.server.CalciteServerHandler.udfRTSigsJson = ""
SockTransportProperties com.mapd.parser.server.CalciteServerHandler.skT
Map<String, ExtensionFunction> com.mapd.parser.server.CalciteServerHandler.extSigs = null
String com.mapd.parser.server.CalciteServerHandler.dataDir

Private Static Functions

static ExtensionFunction com.mapd.parser.server.CalciteServerHandler.toExtensionFunction(TUserDefinedFunction udf)
static ExtensionFunction com.mapd.parser.server.CalciteServerHandler.toExtensionFunction(TUserDefinedTableFunction udtf)
static ExtensionFunction.ExtArgumentType com.mapd.parser.server.CalciteServerHandler.toExtArgumentType(TExtArgumentType type)
static TCompletionHintType com.mapd.parser.server.CalciteServerHandler.hintTypeToThrift(final SqlMonikerType type)