Examples of InputColumn


Examples of io.crate.planner.symbol.InputColumn

    public Aggregation.Step step() {
        return steps[stepIdx];
    }

    DataTypeSymbol allocateToCollect(Symbol symbol) {
        InputColumn inputColumn = toCollectAllocation.get(symbol);
        if (inputColumn == null) {
            inputColumn = new InputColumn(toCollectAllocation.size(), DataTypeVisitor.fromSymbol(symbol));
            toCollectAllocation.put(symbol, inputColumn);
        }
        return inputColumn;
    }
View Full Code Here

Examples of io.crate.planner.symbol.InputColumn

            clusteredByIdx = currentInputIndex;
            currentInputIndex++;
        }

        generateSymbols(pkIndices, partitionedByIndices, clusteredByIdx);
        rawSourceSymbol = new InputColumn(currentInputIndex, DataTypes.STRING);
    }
View Full Code Here

Examples of io.crate.planner.symbol.InputColumn

        this.columnIdents = Lists.newArrayList(columns);
        this.columnSymbols = new ArrayList<>(columns.size()-partitionedByIndices.size());

        for (int i = 0; i < columns.size(); i++) {
            if (!partitionedByIndices.contains(i)) {
                this.columnSymbols.add(new InputColumn(i, null));
            } else {
                columnIdents.remove(i);
            }
        }
View Full Code Here

Examples of io.crate.planner.symbol.InputColumn

                ImmutableList.<Symbol>of(),
                Aggregation.Step.ITER,
                Aggregation.Step.PARTIAL);
        Aggregation countAggregationFinal = new Aggregation(
                CountAggregation.COUNT_STAR_FUNCTION,
                ImmutableList.<Symbol>of(new InputColumn(0, DataTypes.LONG)),
                Aggregation.Step.PARTIAL,
                Aggregation.Step.FINAL);

        CollectNode collectNode = new CollectNode(
                "count",
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.