ServiceNowSource Class

public final class ServiceNowSource
extends TabularSource

A copy activity ServiceNow server source.

Constructor Summary

Constructor Description
ServiceNowSource()

Creates an instance of ServiceNowSource class.

Method Summary

Modifier and Type Method and Description
Object query()

Get the query property: A query to retrieve data from source.

String type()

Get the type property: Copy source type.

void validate()

Validates the instance.

ServiceNowSource withAdditionalColumns(Object additionalColumns)

Set the additionalColumns property: Specifies the additional columns to be added to source data.

ServiceNowSource withDisableMetricsCollection(Object disableMetricsCollection)

Set the disableMetricsCollection property: If true, disable data store metrics collection.

ServiceNowSource withMaxConcurrentConnections(Object maxConcurrentConnections)

Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.

ServiceNowSource withQuery(Object query)

Set the query property: A query to retrieve data from source.

ServiceNowSource withQueryTimeout(Object queryTimeout)

Set the queryTimeout property: Query timeout.

ServiceNowSource withSourceRetryCount(Object sourceRetryCount)

Set the sourceRetryCount property: Source retry count.

ServiceNowSource withSourceRetryWait(Object sourceRetryWait)

Set the sourceRetryWait property: Source retry wait.

Methods inherited from CopySource

Methods inherited from TabularSource

Methods inherited from java.lang.Object

Constructor Details

ServiceNowSource

public ServiceNowSource()

Creates an instance of ServiceNowSource class.

Method Details

query

public Object query()

Get the query property: A query to retrieve data from source. Type: string (or Expression with resultType string).

Returns:

the query value.

type

public String type()

Get the type property: Copy source type.

Overrides:

ServiceNowSource.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

ServiceNowSource.validate()

withAdditionalColumns

public ServiceNowSource withAdditionalColumns(Object additionalColumns)

Set the additionalColumns property: Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).

Overrides:

ServiceNowSource.withAdditionalColumns(Object additionalColumns)

Parameters:

additionalColumns

withDisableMetricsCollection

public ServiceNowSource withDisableMetricsCollection(Object disableMetricsCollection)

Set the disableMetricsCollection property: If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).

Overrides:

ServiceNowSource.withDisableMetricsCollection(Object disableMetricsCollection)

Parameters:

disableMetricsCollection

withMaxConcurrentConnections

public ServiceNowSource withMaxConcurrentConnections(Object maxConcurrentConnections)

Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).

Overrides:

ServiceNowSource.withMaxConcurrentConnections(Object maxConcurrentConnections)

Parameters:

maxConcurrentConnections

withQuery

public ServiceNowSource withQuery(Object query)

Set the query property: A query to retrieve data from source. Type: string (or Expression with resultType string).

Parameters:

query - the query value to set.

Returns:

the ServiceNowSource object itself.

withQueryTimeout

public ServiceNowSource withQueryTimeout(Object queryTimeout)

Set the queryTimeout property: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

Overrides:

ServiceNowSource.withQueryTimeout(Object queryTimeout)

Parameters:

queryTimeout

withSourceRetryCount

public ServiceNowSource withSourceRetryCount(Object sourceRetryCount)

Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).

Overrides:

ServiceNowSource.withSourceRetryCount(Object sourceRetryCount)

Parameters:

sourceRetryCount

withSourceRetryWait

public ServiceNowSource withSourceRetryWait(Object sourceRetryWait)

Set the sourceRetryWait property: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

Overrides:

ServiceNowSource.withSourceRetryWait(Object sourceRetryWait)

Parameters:

sourceRetryWait

Applies to