15 package com.cloudera.impala.analysis;
19 import com.cloudera.impala.thrift.TFunctionCategory;
20 import com.cloudera.impala.thrift.TShowFunctionsParams;
21 import com.google.common.base.Preconditions;
49 Preconditions.checkNotNull(fnCategory);
70 return "SHOW " + fnCategory +
"FUNCTIONS";
72 return "SHOW " + fnCategory +
"FUNCTIONS LIKE '" +
pattern_ +
"'";
85 TShowFunctionsParams params =
new TShowFunctionsParams();
87 params.setDb(
getDb());
ShowFunctionsStmt(String db, String pattern, TFunctionCategory fnCategory)
final TFunctionCategory fnCategory_
static final String DB_DOES_NOT_EXIST_ERROR_MSG
TShowFunctionsParams toThrift()
void analyze(Analyzer analyzer)