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