public class DBStatementStreamSpec extends StreamSpecBase implements StreamSpecRaw, StreamSpecCompiled, Serializable
EMPTY_STREAM_ARRAY
Constructor and Description |
---|
DBStatementStreamSpec(String optionalStreamName,
ViewSpec[] viewSpecs,
String databaseName,
String sqlWithSubsParams,
String metadataSQL)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDatabaseName()
Returns the database name.
|
String |
getMetadataSQL()
Returns the optional sample metadata SQL
|
String |
getSqlWithSubsParams()
Returns the SQL with substitution parameters.
|
getOptionalStreamName, getOptions, getViewSpecs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOptionalStreamName, getOptions, getViewSpecs
public DBStatementStreamSpec(String optionalStreamName, ViewSpec[] viewSpecs, String databaseName, String sqlWithSubsParams, String metadataSQL)
optionalStreamName
- is a stream name optionally given to streamviewSpecs
- is a list of views onto the streamdatabaseName
- is the database name to pollsqlWithSubsParams
- is the SQL with placeholder parametersmetadataSQL
- is the sample SQL to retrieve statement metadata, if any was suppliedpublic String getDatabaseName()
public String getSqlWithSubsParams()
public String getMetadataSQL()
Copyright © 2005–2020. All rights reserved.