Compartir a través de


VerticaSource Class

public final class VerticaSource
extends TabularSource

A copy activity Vertica source.

Constructor Summary

Constructor Description
VerticaSource()

Creates an instance of VerticaSource class.

Method Summary

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

Reads an instance of VerticaSource from the JsonReader.

Object getQuery()

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

String getType()

Get the type property: Copy source type.

VerticaSource setAdditionalColumns(Object additionalColumns)

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

VerticaSource setMaxConcurrentConnections(Object maxConcurrentConnections)

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

VerticaSource setQuery(Object query)

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

VerticaSource setQueryTimeout(Object queryTimeout)

Set the queryTimeout property: Query timeout.

VerticaSource setSourceRetryCount(Object sourceRetryCount)

Set the sourceRetryCount property: Source retry count.

VerticaSource setSourceRetryWait(Object sourceRetryWait)

Set the sourceRetryWait property: Source retry wait.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from CopySource

Methods inherited from TabularSource

Methods inherited from java.lang.Object

Constructor Details

VerticaSource

public VerticaSource()

Creates an instance of VerticaSource class.

Method Details

fromJson

public static VerticaSource fromJson(JsonReader jsonReader)

Reads an instance of VerticaSource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VerticaSource 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 VerticaSource.

getQuery

public Object getQuery()

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

Returns:

the query value.

getType

public String getType()

Get the type property: Copy source type.

Overrides:

VerticaSource.getType()

Returns:

the type value.

setAdditionalColumns

public VerticaSource 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).

Overrides:

VerticaSource.setAdditionalColumns(Object additionalColumns)

Parameters:

additionalColumns

setMaxConcurrentConnections

public VerticaSource 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:

VerticaSource.setMaxConcurrentConnections(Object maxConcurrentConnections)

Parameters:

maxConcurrentConnections

setQuery

public VerticaSource setQuery(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 VerticaSource object itself.

setQueryTimeout

public VerticaSource 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])).

Overrides:

VerticaSource.setQueryTimeout(Object queryTimeout)

Parameters:

queryTimeout

setSourceRetryCount

public VerticaSource setSourceRetryCount(Object sourceRetryCount)

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

Overrides:

VerticaSource.setSourceRetryCount(Object sourceRetryCount)

Parameters:

sourceRetryCount

setSourceRetryWait

public VerticaSource 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:

VerticaSource.setSourceRetryWait(Object sourceRetryWait)

Parameters:

sourceRetryWait

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VerticaSource.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to