Package io.crate.operation.reference.partitioned

Examples of io.crate.operation.reference.partitioned.PartitionExpression


    private PartitionReferenceResolver preparePartitionResolver(
            ReferenceResolver referenceResolver, List<ReferenceInfo> partitionColumns) {
        List<PartitionExpression> partitionExpressions = new ArrayList<>(partitionColumns.size());
        int idx = 0;
        for (ReferenceInfo partitionedByColumn : partitionColumns) {
            partitionExpressions.add(new PartitionExpression(partitionedByColumn, idx));
            idx++;
        }
        return new PartitionReferenceResolver(referenceResolver, partitionExpressions);
    }
View Full Code Here


        }
    }

    @Override
    public ReferenceImplementation getImplementation(ReferenceIdent ident) {
        PartitionExpression expression = expressionMap.get(ident);
        assert expression != null || fallbackResolver.getImplementation(ident) == null
                : "granularity < PARTITION should have been resolved already";
        return expression;
    }
View Full Code Here

TOP

Related Classes of io.crate.operation.reference.partitioned.PartitionExpression

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.