Skip to content

Commit

Permalink
refactor: remove execute(stmt) from KsqlExecutionContext interface
Browse files Browse the repository at this point in the history
  • Loading branch information
spena committed Oct 14, 2019
1 parent 8f9595a commit 0002ffc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,6 @@ public interface KsqlExecutionContext {
*/
PreparedStatement<?> prepare(ParsedStatement stmt);

/**
* Executes a statement using the engine's primary service context.
*
* @see #execute(ServiceContext, ConfiguredStatement)
*/
ExecuteResult execute(ConfiguredStatement<?> statement);

/**
* Execute the supplied statement, updating the meta store and registering any query.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,6 @@ public PreparedStatement<?> prepare(final ParsedStatement stmt) {
return primaryContext.prepare(stmt);
}

@Override
public ExecuteResult execute(
final ConfiguredStatement<?> statement
) {
return execute(primaryContext.getServiceContext(), statement);
}

@Override
public ExecuteResult execute(
final ServiceContext serviceContext,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,6 @@ public PreparedStatement<?> prepare(final ParsedStatement stmt) {
return engineContext.prepare(stmt);
}

@Override
public ExecuteResult execute(
final ConfiguredStatement<?> statement
) {
return execute(engineContext.getServiceContext(), statement);
}

@Override
public ExecuteResult execute(
final ServiceContext serviceContext,
Expand Down

0 comments on commit 0002ffc

Please sign in to comment.