public class ConvertAstToSearchArg extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConvertAstToSearchArg.Result |
| Modifier and Type | Field and Description |
|---|---|
static String |
SARG_PUSHDOWN |
| Modifier and Type | Method and Description |
|---|---|
SearchArgument |
buildSearchArgument()
Build the search argument from the expression.
|
static boolean |
canCreateFromConf(org.apache.hadoop.conf.Configuration conf) |
static SearchArgument |
create(byte[] kryoBytes) |
static SearchArgument |
create(org.apache.hadoop.conf.Configuration conf,
ExprNodeGenericFuncDesc expression) |
static SearchArgument |
create(String kryo) |
static SearchArgument |
createFromConf(org.apache.hadoop.conf.Configuration conf) |
static ConvertAstToSearchArg.Result |
createSearchArgument(org.apache.hadoop.conf.Configuration conf,
ExprNodeGenericFuncDesc expression) |
boolean |
isPartial()
Returns whether the given expression is partially converted to a search argument from the hive filter.
|
static String |
sargToKryo(SearchArgument sarg) |
public static final String SARG_PUSHDOWN
public boolean isPartial()
public SearchArgument buildSearchArgument()
public static SearchArgument create(org.apache.hadoop.conf.Configuration conf, ExprNodeGenericFuncDesc expression)
public static ConvertAstToSearchArg.Result createSearchArgument(org.apache.hadoop.conf.Configuration conf, ExprNodeGenericFuncDesc expression)
public static SearchArgument create(String kryo)
public static SearchArgument create(byte[] kryoBytes)
public static SearchArgument createFromConf(org.apache.hadoop.conf.Configuration conf)
public static boolean canCreateFromConf(org.apache.hadoop.conf.Configuration conf)
public static String sargToKryo(SearchArgument sarg)
Copyright © 2024 The Apache Software Foundation. All rights reserved.