Package io.crate.types

Examples of io.crate.types.CollectionType


                if (tuple == null) {
                    return null;
                }
                String field = tuple.v1().info().ident().columnIdent().fqn();
                Literal literal = tuple.v2();
                CollectionType dataType = ((CollectionType) literal.valueType());
                QueryBuilderHelper builder = QueryBuilderHelper.forType(dataType.innerType());
                BooleanQuery booleanQuery = new BooleanQuery();
                Set values = (Set) literal.value();
                for (Object value : values) {
                    booleanQuery.add(builder.eq(field, value), BooleanClause.Occur.SHOULD);
                }
View Full Code Here

TOP

Related Classes of io.crate.types.CollectionType

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.