Package io.crate.metadata

Examples of io.crate.metadata.ReferenceImplementation


    @Override
    public UnassignedShardCollectorExpression<?> getImplementation(ReferenceInfo info) {
        UnassignedShardCollectorExpression<?> expression = IMPLEMENTATIONS.get(info);
        if (expression == null
            && info.ident().tableIdent().equals(SysClusterTableInfo.IDENT)) {
            final ReferenceImplementation referenceImplementation = referenceImplementations.get(info.ident());
            if (referenceImplementation == null) {
                return null;
            }
            assert referenceImplementation instanceof SysClusterExpression;
            return new UnassignedShardCollectorExpression<Object>(info) {
View Full Code Here


    @Override
    public Input<?> visitReference(Reference symbol, Context context) {
        Input<?> result;
        if (!symbol.info().granularity().finerThan(rowGranularity)) {
            ReferenceImplementation impl = referenceResolver.getImplementation(symbol.info().ident());
            if (impl != null && impl instanceof Input<?>) {
                // collect collectExpressions separately
                if (impl instanceof CollectExpression<?>) {
                    context.collectExpressions.add((CollectExpression<?>) impl);
                }
View Full Code Here

TOP

Related Classes of io.crate.metadata.ReferenceImplementation

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.