public class PartitionProjectionEvaluator extends Object
| Constructor and Description |
|---|
PartitionProjectionEvaluator(javax.jdo.PersistenceManager pm,
com.google.common.collect.ImmutableMap<String,String> fieldNameToTableName,
List<String> projectionFields,
boolean convertMapNullsToEmptyStrings,
boolean isView,
String includeParamKeyPattern,
String excludeParamKeyPattern) |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getMPartitionFieldNames(List<String> partitionFields)
Given a list of partition fields, checks if all the fields requested are single-valued.
|
List<Partition> |
getPartitionsUsingProjectionList(List<Long> partitionIds)
Given a list of partition ids, returns the List of partially filled partitions based on the
projection list used to instantiate this PartitionProjectionEvaluator
|
public PartitionProjectionEvaluator(javax.jdo.PersistenceManager pm,
com.google.common.collect.ImmutableMap<String,String> fieldNameToTableName,
List<String> projectionFields,
boolean convertMapNullsToEmptyStrings,
boolean isView,
String includeParamKeyPattern,
String excludeParamKeyPattern)
throws MetaException
MetaExceptionpublic List<Partition> getPartitionsUsingProjectionList(List<Long> partitionIds) throws MetaException
partitionIds - List of partition ids corresponding to the Partitions objects which are requestedMetaExceptionpublic static List<String> getMPartitionFieldNames(List<String> partitionFields) throws MetaException
partitionFields - List of partitionFields in the projectionMetaExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.