public class SimpleStatementPrinter extends StatementPrinterBase<SimpleStatement>
| Constructor and Description |
|---|
SimpleStatementPrinter() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
collectStatementProperties(SimpleStatement statement,
StatementWriter out,
StatementFormatVerbosity verbosity) |
Class<? extends SimpleStatement> |
getSupportedStatementClass()
The concrete
Statement subclass that this printer handles. |
protected void |
printBoundValues(SimpleStatement statement,
StatementWriter out,
StatementFormatVerbosity verbosity) |
protected void |
printQueryString(SimpleStatement statement,
StatementWriter out,
StatementFormatVerbosity verbosity) |
print, printHeaderpublic Class<? extends SimpleStatement> getSupportedStatementClass()
StatementPrinterStatement 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.
getSupportedStatementClass in interface StatementPrinter<SimpleStatement>getSupportedStatementClass in class StatementPrinterBase<SimpleStatement>Statement subclass that this printer handles.protected List<String> collectStatementProperties(SimpleStatement statement, StatementWriter out, StatementFormatVerbosity verbosity)
collectStatementProperties in class StatementPrinterBase<SimpleStatement>protected void printQueryString(SimpleStatement statement, StatementWriter out, StatementFormatVerbosity verbosity)
printQueryString in class StatementPrinterBase<SimpleStatement>protected void printBoundValues(SimpleStatement statement, StatementWriter out, StatementFormatVerbosity verbosity)
printBoundValues in class StatementPrinterBase<SimpleStatement>Copyright © 2017–2021 DataStax. All rights reserved.