S - The type of statement that this printer handlespublic interface StatementPrinter<S extends Statement>
statement,
with a given verbosity level, and using a given statement writer.| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getSupportedStatementClass()
The concrete
Statement subclass that this printer handles. |
void |
print(S statement,
StatementWriter out,
StatementFormatVerbosity verbosity)
|
Class<?> getSupportedStatementClass()
Statement subclass that this printer handles.
In case of subtype polymorphism, if this printer handles more than one concrete subclass, the most specific common ancestor should be returned here.
Statement subclass that this printer handles.void print(S statement, StatementWriter out, StatementFormatVerbosity verbosity)
statement - the statement to printout - the writer to useverbosity - the verbosity to useCopyright © 2017–2021 DataStax. All rights reserved.