public class PartitionPushDownSpec extends SourceAbilitySpecBase
SourceAbilitySpec
that can not only serialize/deserialize the partitions
to/from JSON, but also can push the partitions into a SupportsPartitionPushDown
.Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_PARTITIONS |
FIELD_NAME_PRODUCED_TYPE
Constructor and Description |
---|
PartitionPushDownSpec(List<Map<String,String>> partitions) |
Modifier and Type | Method and Description |
---|---|
void |
apply(DynamicTableSource tableSource,
SourceAbilityContext context)
Apply the ability to the given
DynamicTableSource . |
getProducedType
public static final String FIELD_NAME_PARTITIONS
public void apply(DynamicTableSource tableSource, SourceAbilityContext context)
SourceAbilitySpec
DynamicTableSource
.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.