-
Notifications
You must be signed in to change notification settings - Fork 25.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Transform] rename data frame transform to transform for hlrc client #46933
[Transform] rename data frame transform to transform for hlrc client #46933
Conversation
Pinging @elastic/ml-core |
ee0d428
to
01d1154
Compare
4cab2ad
to
3618694
Compare
run elasticsearch-ci/docs-check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor cosmetic things. Just some indention woes given the rename :)
:%s/data.*frame//gi
private int count; | ||
private InvalidTransforms invalidTransforms; | ||
|
||
public GetDataFrameTransformResponse(List<DataFrameTransformConfig> transformConfigurations, | ||
public GetTransformResponse(List<TransformConfig> transformConfigurations, | ||
int count, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#nit indention fix.
int count, | |
int count, |
private int count; | ||
private InvalidTransforms invalidTransforms; | ||
|
||
public GetDataFrameTransformResponse(List<DataFrameTransformConfig> transformConfigurations, | ||
public GetTransformResponse(List<TransformConfig> transformConfigurations, | ||
int count, | ||
@Nullable InvalidTransforms invalidTransforms) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Nullable InvalidTransforms invalidTransforms) { | |
@Nullable InvalidTransforms invalidTransforms) { |
return PARSER.parse(parser, null); | ||
} | ||
|
||
public StartDataFrameTransformResponse(boolean acknowledged, @Nullable List<TaskOperationFailure> taskFailures, | ||
public StartTransformResponse(boolean acknowledged, @Nullable List<TaskOperationFailure> taskFailures, | ||
@Nullable List<? extends ElasticsearchException> nodeFailures) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Nullable List<? extends ElasticsearchException> nodeFailures) { | |
@Nullable List<? extends ElasticsearchException> nodeFailures) { |
return PARSER.parse(parser, null); | ||
} | ||
|
||
public StopDataFrameTransformResponse(boolean acknowledged, @Nullable List<TaskOperationFailure> taskFailures, | ||
public StopTransformResponse(boolean acknowledged, @Nullable List<TaskOperationFailure> taskFailures, | ||
@Nullable List<? extends ElasticsearchException> nodeFailures) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Nullable List<? extends ElasticsearchException> nodeFailures) { | |
@Nullable List<? extends ElasticsearchException> nodeFailures) { |
public DataFrameTransformCheckpointStats(final long checkpoint, final DataFrameIndexerPosition position, | ||
final DataFrameTransformProgress checkpointProgress, final long timestampMillis, | ||
public TransformCheckpointStats(final long checkpoint, final TransformIndexerPosition position, | ||
final TransformProgress checkpointProgress, final long timestampMillis, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final TransformProgress checkpointProgress, final long timestampMillis, | |
final TransformProgress checkpointProgress, final long timestampMillis, |
Map<String, SingleGroupSource> groups, | ||
AggregatorFactories.Builder aggregations, | ||
String destinationIndex, | ||
String... sourceIndices) throws Exception { | ||
return createTransformConfig(id, groups, aggregations, destinationIndex, QueryBuilders.matchAllQuery(), sourceIndices); | ||
} | ||
|
||
protected DataFrameTransformConfig.Builder createTransformConfigBuilder(String id, | ||
protected TransformConfig.Builder createTransformConfigBuilder(String id, | ||
Map<String, SingleGroupSource> groups, | ||
AggregatorFactories.Builder aggregations, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AggregatorFactories.Builder aggregations, | |
AggregatorFactories.Builder aggregations, |
Map<String, SingleGroupSource> groups, | ||
AggregatorFactories.Builder aggregations, | ||
String destinationIndex, | ||
String... sourceIndices) throws Exception { | ||
return createTransformConfig(id, groups, aggregations, destinationIndex, QueryBuilders.matchAllQuery(), sourceIndices); | ||
} | ||
|
||
protected DataFrameTransformConfig.Builder createTransformConfigBuilder(String id, | ||
protected TransformConfig.Builder createTransformConfigBuilder(String id, | ||
Map<String, SingleGroupSource> groups, | ||
AggregatorFactories.Builder aggregations, | ||
String destinationIndex, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String destinationIndex, | |
String destinationIndex, |
Map<String, SingleGroupSource> groups, | ||
AggregatorFactories.Builder aggregations, | ||
String destinationIndex, | ||
String... sourceIndices) throws Exception { | ||
return createTransformConfig(id, groups, aggregations, destinationIndex, QueryBuilders.matchAllQuery(), sourceIndices); | ||
} | ||
|
||
protected DataFrameTransformConfig.Builder createTransformConfigBuilder(String id, | ||
protected TransformConfig.Builder createTransformConfigBuilder(String id, | ||
Map<String, SingleGroupSource> groups, | ||
AggregatorFactories.Builder aggregations, | ||
String destinationIndex, | ||
QueryBuilder queryBuilder, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QueryBuilder queryBuilder, | |
QueryBuilder queryBuilder, |
Map<String, SingleGroupSource> groups, | ||
AggregatorFactories.Builder aggregations, | ||
String destinationIndex, | ||
String... sourceIndices) throws Exception { | ||
return createTransformConfig(id, groups, aggregations, destinationIndex, QueryBuilders.matchAllQuery(), sourceIndices); | ||
} | ||
|
||
protected DataFrameTransformConfig.Builder createTransformConfigBuilder(String id, | ||
protected TransformConfig.Builder createTransformConfigBuilder(String id, | ||
Map<String, SingleGroupSource> groups, | ||
AggregatorFactories.Builder aggregations, | ||
String destinationIndex, | ||
QueryBuilder queryBuilder, | ||
String... sourceIndices) throws Exception { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String... sourceIndices) throws Exception { | |
String... sourceIndices) throws Exception { |
@@ -218,7 +218,7 @@ protected DataFrameTransformConfig createTransformConfig(String id, | |||
.setDescription("Test transform config id: " + id); | |||
} | |||
|
|||
protected DataFrameTransformConfig createTransformConfig(String id, | |||
protected TransformConfig createTransformConfig(String id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#nit indention
run elasticsearch-ci/bwc |
…46933) rename data frame transform to transform for hlrc
rename data frame transform to transform for hlrc