@Override public boolean equals(final Object o) { if (this == o) { return true; } if (!(o instanceof ExecutionPlan)) { return false; } final ExecutionPlan executionPlan = (ExecutionPlan) o; return Objects.equals(getExecutionPlan(), executionPlan.getExecutionPlan()); }
@POST public Response handleKsqlStatements(final KsqlRequest request) throws Exception { final KsqlEntityList result = new KsqlEntityList(); result.add(new ExecutionPlan("TestExecution plan")); return Response.ok(result).build(); }
new KsqlTopicsList("e", ImmutableList.of(new KsqlTopicInfo("TestTopic", "TestKafkaTopic", DataSource.DataSourceSerDe.JSON))), new KafkaTopicsList("e", ImmutableList.of(new KafkaTopicInfo("TestKafkaTopic", true, ImmutableList.of(1), 1, 1))), new ExecutionPlan("Test Execution Plan") )); console.printKsqlEntityList(entityList);
@Override public int hashCode() { return Objects.hash(getExecutionPlan()); } }
@Override public Table buildTable(final ExecutionPlan executionPlan) { return new Builder() .withColumnHeaders("Execution Plan") .withRow(executionPlan.getExecutionPlan()) .build(); } }