Package io.crate.executor.transport.task.elasticsearch

Examples of io.crate.executor.transport.task.elasticsearch.SortOrder.missing()


            SearchContext searchContext = context.context.searchContext();

            FieldMapper fieldMapper = context.context.searchContext().smartNameFieldMapper(columnIdent.fqn());
            SortOrder sortOrder = new SortOrder(context.reverseFlag, context.nullFirst);
            IndexFieldData.XFieldComparatorSource fieldComparatorSource =
                    searchContext.fieldData().getForField(fieldMapper).comparatorSource(sortOrder.missing(), sortMode);

            return new SortField(
                    fieldMapper.names().indexName(),
                    fieldComparatorSource,
                    context.reverseFlag
View Full Code Here


                            numHits,
                            context.context,
                            expressions,
                            functionInput,
                            function.valueType(),
                            missingObject(sortOrder.missing(), reversed)
                    );
                }

                @Override
                public SortField.Type reducedType() {
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.