}
}
return ids;
}
else if (contextPartitionSelector instanceof ContextPartitionSelectorSegmented) {
ContextPartitionSelectorSegmented partitioned = (ContextPartitionSelectorSegmented) contextPartitionSelector;
if (partitioned.getPartitionKeys() == null || partitioned.getPartitionKeys().isEmpty()) {
return Collections.emptyList();
}
Set<Integer> ids = new HashSet<Integer>();
for (Object[] keyObjects : partitioned.getPartitionKeys()) {
Object key;
if (isMultiKey) {
key = new MultiKeyUntyped(keyObjects);
}