public final class QueryPreprocessor extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ENV_PREPROCESSOR |
static String |
ENV_PREPROCESSOR_TIMEOUT |
static String |
ENV_PRESTO_CATALOG |
static String |
ENV_PRESTO_SCHEMA |
Modifier and Type | Method and Description |
---|---|
static String |
preprocessQuery(Optional<String> catalog,
Optional<String> schema,
String query) |
static String |
preprocessQuery(Optional<String> catalog,
Optional<String> schema,
String query,
List<String> preprocessorCommand,
io.airlift.units.Duration timeout) |
public static final String ENV_PREPROCESSOR
public static final String ENV_PREPROCESSOR_TIMEOUT
public static final String ENV_PRESTO_CATALOG
public static final String ENV_PRESTO_SCHEMA
public static String preprocessQuery(Optional<String> catalog, Optional<String> schema, String query) throws QueryPreprocessorException
QueryPreprocessorException
public static String preprocessQuery(Optional<String> catalog, Optional<String> schema, String query, List<String> preprocessorCommand, io.airlift.units.Duration timeout) throws QueryPreprocessorException
QueryPreprocessorException
Copyright © 2012–2021. All rights reserved.