Skip to content

Cli

runCommand

void runCommand(
  String command)

runCommand handleLine.

runCommand is used when:

  • Ksql is requested to run

runInteractively

void runInteractively()

runInteractively...FIXME

runInteractively is used when:

  • Ksql is requested to run

handleLine

void handleLine(
  String line)

handleLine removes any leading and trailing spaces from the given line and handleStatements.

handleLine simply returns back when the given line is empty after trimming.

handleLine is used when:

handleStatements

void handleStatements(
  String line)

handleStatements requests the DefaultKsqlParser to parse the given line (into ParsedStatements).

Note

There could be one or more ParsedStatements in the given line.

For every ParsedStatement, handleStatements substituteVariables and...FIXME

handleStatements...FIXME

substituteVariables

ParsedStatement substituteVariables(
  ParsedStatement statement)

substituteVariables...FIXME

isVariableSubstitutionEnabled

boolean isVariableSubstitutionEnabled()

isVariableSubstitutionEnabled...FIXME

Back to top