public class DefaultPartitionExpressionProxy extends Object implements PartitionExpressionProxy
| Constructor and Description |
|---|
DefaultPartitionExpressionProxy() |
| Modifier and Type | Method and Description |
|---|---|
String |
convertExprToFilter(byte[] expr,
String defaultPartitionName,
boolean decodeFilterExpToStr) |
SearchArgument |
createSarg(byte[] expr) |
boolean |
filterPartitionsByExpr(List<FieldSchema> partColumns,
byte[] expr,
String defaultPartitionName,
List<String> partitionNames) |
FileFormatProxy |
getFileFormatProxy(FileMetadataExprType type) |
FileMetadataExprType |
getMetadataType(String inputFormat) |
public String convertExprToFilter(byte[] expr, String defaultPartitionName, boolean decodeFilterExpToStr) throws MetaException
convertExprToFilter in interface PartitionExpressionProxyMetaExceptionpublic boolean filterPartitionsByExpr(List<FieldSchema> partColumns, byte[] expr, String defaultPartitionName, List<String> partitionNames) throws MetaException
filterPartitionsByExpr in interface PartitionExpressionProxyMetaExceptionpublic FileMetadataExprType getMetadataType(String inputFormat)
getMetadataType in interface PartitionExpressionProxypublic FileFormatProxy getFileFormatProxy(FileMetadataExprType type)
getFileFormatProxy in interface PartitionExpressionProxypublic SearchArgument createSarg(byte[] expr)
createSarg in interface PartitionExpressionProxyCopyright © 2024 The Apache Software Foundation. All rights reserved.