Package org.elasticsearch.search.aggregations.support.format

Examples of org.elasticsearch.search.aggregations.support.format.ValueParser$DateTime


        this.formatter = format != null ? format.formatter() : null;
        this.keyed = keyed;
        this.rangeFactory = rangeFactory;
        this.ranges = ranges.toArray(new Range[ranges.size()]);

        ValueParser parser = format != null ? format.parser() : ValueParser.RAW;
        for (int i = 0; i < this.ranges.length; i++) {
            this.ranges[i].process(parser, context.searchContext());
        }
        sortRanges(this.ranges);
View Full Code Here


                        InternalRange.Factory factory,
                        Map<String, Object> metaData) {

            super(name, context, parent, metaData);
            this.ranges = ranges;
            ValueParser parser = format != null ? format.parser() : ValueParser.RAW;
            for (Range range : this.ranges) {
                range.process(parser, context.searchContext());
            }
            this.keyed = keyed;
            this.formatter = format != null ? format.formatter() : null;
View Full Code Here

TOP

Related Classes of org.elasticsearch.search.aggregations.support.format.ValueParser$DateTime

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.