private VXQueryCollectionDataSource(int id, String file, Object[] types) {
this.dataSourceId = id;
this.collectionName = file;
collectionPartitions = collectionName.split(DELIMITER);
this.types = types;
final IPhysicalPropertiesVector vec = new StructuralPropertiesVector(new RandomPartitioningProperty(
new CollectionFileDomain(collectionName)), new ArrayList<ILocalStructuralProperty>());
propProvider = new IDataSourcePropertiesProvider() {
@Override
public IPhysicalPropertiesVector computePropertiesVector(List<LogicalVariable> scanVariables) {
return vec;