Package io.crate.types

Examples of io.crate.types.CollectionType.innerType()


                    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
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.