@@ -38,6 +38,20 @@ import { getSamplerITC } from './Bucket/Sampler';
38
38
import { getSignificantTermsITC } from './Bucket/SignificantTerms' ;
39
39
import { getTermsITC } from './Bucket/Terms' ;
40
40
41
+ import { getAvgBucketITC } from './Pipeline/AvgBucket' ;
42
+ import { getBucketScriptITC } from './Pipeline/BucketScript' ;
43
+ import { getBucketSelectorITC } from './Pipeline/BucketSelector' ;
44
+ import { getCumulativeSumITC } from './Pipeline/CumulativeSum' ;
45
+ import { getDerivativeITC } from './Pipeline/Derivative' ;
46
+ import { getExtendedStatsBucketITC } from './Pipeline/ExtendedStatsBucket' ;
47
+ import { getMaxBucketITC } from './Pipeline/MaxBucket' ;
48
+ import { getMinBucketITC } from './Pipeline/MinBucket' ;
49
+ import { getMovingAverageITC } from './Pipeline/MovingAverage' ;
50
+ import { getPercentilesBucketITC } from './Pipeline/PercentilesBucket' ;
51
+ import { getSerialDifferencingITC } from './Pipeline/SerialDifferencing' ;
52
+ import { getStatsBucketITC } from './Pipeline/StatsBucket' ;
53
+ import { getSumBucketITC } from './Pipeline/SumBucket' ;
54
+
41
55
export function getAggRulesITC ( opts : mixed = { } ) : InputTypeComposer {
42
56
const name = getTypeName ( 'AggRules' , opts ) ;
43
57
const description = desc (
@@ -89,6 +103,20 @@ export function getAggRulesITC(opts: mixed = {}): InputTypeComposer {
89
103
significant_terms : ( ) => getSignificantTermsITC ( opts ) ,
90
104
terms : ( ) => getTermsITC ( opts ) ,
91
105
106
+ avg_bucket : ( ) => getAvgBucketITC ( opts ) ,
107
+ bucket_script : ( ) => getBucketScriptITC ( opts ) ,
108
+ bucket_selector : ( ) => getBucketSelectorITC ( opts ) ,
109
+ cumulative_sum : ( ) => getCumulativeSumITC ( opts ) ,
110
+ derivative : ( ) => getDerivativeITC ( opts ) ,
111
+ extended_stats_bucket : ( ) => getExtendedStatsBucketITC ( opts ) ,
112
+ max_bucket : ( ) => getMaxBucketITC ( opts ) ,
113
+ min_bucket : ( ) => getMinBucketITC ( opts ) ,
114
+ moving_average : ( ) => getMovingAverageITC ( opts ) ,
115
+ percentiles_bucket : ( ) => getPercentilesBucketITC ( opts ) ,
116
+ serial_differencing : ( ) => getSerialDifferencingITC ( opts ) ,
117
+ stats_bucket : ( ) => getStatsBucketITC ( opts ) ,
118
+ sum_bucket : ( ) => getSumBucketITC ( opts ) ,
119
+
92
120
aggs : {
93
121
type : ( ) => [ getAggBlockITC ( opts ) ] ,
94
122
description : 'Aggregation block' ,
0 commit comments