Java Code Examples for org.elasticsearch.search.aggregations.bucket.range.InternalRange#Factory
The following examples show how to use
org.elasticsearch.search.aggregations.bucket.range.InternalRange#Factory .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: GeoDistanceParser.java From Elasticsearch with Apache License 2.0 | 5 votes |
public GeoDistanceFactory(String name, ValuesSourceConfig<ValuesSource.GeoPoint> valueSourceConfig, InternalRange.Factory rangeFactory, GeoPoint origin, DistanceUnit unit, GeoDistance distanceType, List<RangeAggregator.Range> ranges, boolean keyed) { super(name, rangeFactory.type(), valueSourceConfig); this.origin = origin; this.unit = unit; this.distanceType = distanceType; this.rangeFactory = rangeFactory; this.ranges = ranges; this.keyed = keyed; }
Example 2
Source File: InternalGeoDistance.java From Elasticsearch with Apache License 2.0 | 4 votes |
@Override protected InternalRange.Factory<Bucket, ?> getFactory() { return FACTORY; }
Example 3
Source File: InternalGeoDistance.java From Elasticsearch with Apache License 2.0 | 4 votes |
@Override public InternalRange.Factory<Bucket, InternalGeoDistance> getFactory() { return FACTORY; }
Example 4
Source File: InternalIPv4Range.java From Elasticsearch with Apache License 2.0 | 4 votes |
@Override protected InternalRange.Factory<Bucket, ?> getFactory() { return FACTORY; }
Example 5
Source File: InternalIPv4Range.java From Elasticsearch with Apache License 2.0 | 4 votes |
@Override public InternalRange.Factory<Bucket, InternalIPv4Range> getFactory() { return FACTORY; }
Example 6
Source File: InternalDateRange.java From Elasticsearch with Apache License 2.0 | 4 votes |
@Override protected InternalRange.Factory<Bucket, ?> getFactory() { return FACTORY; }
Example 7
Source File: InternalDateRange.java From Elasticsearch with Apache License 2.0 | 4 votes |
@Override public InternalRange.Factory<Bucket, InternalDateRange> getFactory() { return FACTORY; }