TabularSource Class

public class TabularSource
extends CopySource

Copy activity sources of tabular type.

Constructor Summary

Constructor Description
TabularSource()

Creates an instance of TabularSource class.

Method Summary

Modifier and Type Method and Description
static TabularSource fromJson(JsonReader jsonReader)

Reads an instance of TabularSource from the JsonReader.

Object getAdditionalColumns()

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

Object getQueryTimeout()

Get the queryTimeout property: Query timeout.

String getType()

Get the type property: Copy source type.

TabularSource setAdditionalColumns(Object additionalColumns)

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

TabularSource setMaxConcurrentConnections(Object maxConcurrentConnections)

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

TabularSource setQueryTimeout(Object queryTimeout)

Set the queryTimeout property: Query timeout.

TabularSource setSourceRetryCount(Object sourceRetryCount)

Set the sourceRetryCount property: Source retry count.

TabularSource setSourceRetryWait(Object sourceRetryWait)

Set the sourceRetryWait property: Source retry wait.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from CopySource

Methods inherited from java.lang.Object

Constructor Details

TabularSource

public TabularSource()

Creates an instance of TabularSource class.

Method Details

fromJson

public static TabularSource fromJson(JsonReader jsonReader)

Reads an instance of TabularSource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TabularSource if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TabularSource.

getAdditionalColumns

public Object getAdditionalColumns()

Get 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).

Returns:

the additionalColumns value.

getQueryTimeout

public Object getQueryTimeout()

Get 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])).

Returns:

the queryTimeout value.

getType

public String getType()

Get the type property: Copy source type.

Overrides:

TabularSource.getType()

Returns:

the type value.

setAdditionalColumns

public TabularSource setAdditionalColumns(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).

Parameters:

additionalColumns - the additionalColumns value to set.

Returns:

the TabularSource object itself.

setMaxConcurrentConnections

public TabularSource setMaxConcurrentConnections(Object maxConcurrentConnections)

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

Overrides:

TabularSource.setMaxConcurrentConnections(Object maxConcurrentConnections)

Parameters:

maxConcurrentConnections

setQueryTimeout

public TabularSource setQueryTimeout(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])).

Parameters:

queryTimeout - the queryTimeout value to set.

Returns:

the TabularSource object itself.

setSourceRetryCount

public TabularSource setSourceRetryCount(Object sourceRetryCount)

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

Overrides:

TabularSource.setSourceRetryCount(Object sourceRetryCount)

Parameters:

sourceRetryCount

setSourceRetryWait

public TabularSource setSourceRetryWait(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:

TabularSource.setSourceRetryWait(Object sourceRetryWait)

Parameters:

sourceRetryWait

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

TabularSource.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to