public final class CassandraSource extends TabularSource
| Constructor and Description |
|---|
CassandraSource() |
| Modifier and Type | Method and Description |
|---|---|
CassandraSourceReadConsistencyLevels |
consistencyLevel()
Get the consistencyLevel property: The consistency level specifies how many Cassandra servers must respond to a
read request before returning data to the client application.
|
Object |
query()
Get the query property: Database query.
|
void |
validate()
Validates the instance.
|
CassandraSource |
withAdditionalColumns(List<AdditionalColumns> additionalColumns)
Set the additionalColumns property: Specifies the additional columns to be added to source data.
|
CassandraSource |
withConsistencyLevel(CassandraSourceReadConsistencyLevels consistencyLevel)
Set the consistencyLevel property: The consistency level specifies how many Cassandra servers must respond to a
read request before returning data to the client application.
|
CassandraSource |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.
|
CassandraSource |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.
|
CassandraSource |
withQuery(Object query)
Set the query property: Database query.
|
CassandraSource |
withQueryTimeout(Object queryTimeout)
Set the queryTimeout property: Query timeout.
|
CassandraSource |
withSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count.
|
CassandraSource |
withSourceRetryWait(Object sourceRetryWait)
Set the sourceRetryWait property: Source retry wait.
|
additionalColumns, queryTimeoutadditionalProperties, disableMetricsCollection, maxConcurrentConnections, sourceRetryCount, sourceRetryWait, withAdditionalPropertiespublic Object query()
public CassandraSource withQuery(Object query)
query - the query value to set.public CassandraSourceReadConsistencyLevels consistencyLevel()
public CassandraSource withConsistencyLevel(CassandraSourceReadConsistencyLevels consistencyLevel)
consistencyLevel - the consistencyLevel value to set.public CassandraSource withQueryTimeout(Object queryTimeout)
withQueryTimeout in class TabularSourcequeryTimeout - the queryTimeout value to set.public CassandraSource withAdditionalColumns(List<AdditionalColumns> additionalColumns)
withAdditionalColumns in class TabularSourceadditionalColumns - the additionalColumns value to set.public CassandraSource withSourceRetryCount(Object sourceRetryCount)
withSourceRetryCount in class TabularSourcesourceRetryCount - the sourceRetryCount value to set.public CassandraSource withSourceRetryWait(Object sourceRetryWait)
withSourceRetryWait in class TabularSourcesourceRetryWait - the sourceRetryWait value to set.public CassandraSource withMaxConcurrentConnections(Object maxConcurrentConnections)
withMaxConcurrentConnections in class TabularSourcemaxConcurrentConnections - the maxConcurrentConnections value to set.public CassandraSource withDisableMetricsCollection(Object disableMetricsCollection)
withDisableMetricsCollection in class TabularSourcedisableMetricsCollection - the disableMetricsCollection value to set.public void validate()
validate in class TabularSourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.