MicrosoftAccessSource Class

public final class MicrosoftAccessSource
extends CopySource

A copy activity source for Microsoft Access.

Constructor Summary

Constructor Description
MicrosoftAccessSource()

Creates an instance of MicrosoftAccessSource class.

Method Summary

Modifier and Type Method and Description
Object additionalColumns()

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

static MicrosoftAccessSource fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftAccessSource from the JsonReader.

Object query()

Get the query property: Database query.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Copy source type.

void validate()

Validates the instance.

MicrosoftAccessSource withAdditionalColumns(Object additionalColumns)

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

MicrosoftAccessSource withDisableMetricsCollection(Object disableMetricsCollection)

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

MicrosoftAccessSource withMaxConcurrentConnections(Object maxConcurrentConnections)

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

MicrosoftAccessSource withQuery(Object query)

Set the query property: Database query.

MicrosoftAccessSource withSourceRetryCount(Object sourceRetryCount)

Set the sourceRetryCount property: Source retry count.

MicrosoftAccessSource withSourceRetryWait(Object sourceRetryWait)

Set the sourceRetryWait property: Source retry wait.

Methods inherited from CopySource

Methods inherited from java.lang.Object

Constructor Details

MicrosoftAccessSource

public MicrosoftAccessSource()

Creates an instance of MicrosoftAccessSource class.

Method Details

additionalColumns

public Object additionalColumns()

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.

fromJson

public static MicrosoftAccessSource fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftAccessSource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

query

public Object query()

Get the query property: Database query. Type: string (or Expression with resultType string).

Returns:

the query value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftAccessSource.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Copy source type.

Overrides:

MicrosoftAccessSource.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftAccessSource.validate()

withAdditionalColumns

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

Parameters:

additionalColumns - the additionalColumns value to set.

Returns:

the MicrosoftAccessSource object itself.

withDisableMetricsCollection

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

MicrosoftAccessSource.withDisableMetricsCollection(Object disableMetricsCollection)

Parameters:

disableMetricsCollection

withMaxConcurrentConnections

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

MicrosoftAccessSource.withMaxConcurrentConnections(Object maxConcurrentConnections)

Parameters:

maxConcurrentConnections

withQuery

public MicrosoftAccessSource withQuery(Object query)

Set the query property: Database query. Type: string (or Expression with resultType string).

Parameters:

query - the query value to set.

Returns:

the MicrosoftAccessSource object itself.

withSourceRetryCount

public MicrosoftAccessSource withSourceRetryCount(Object sourceRetryCount)

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

Overrides:

MicrosoftAccessSource.withSourceRetryCount(Object sourceRetryCount)

Parameters:

sourceRetryCount

withSourceRetryWait

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

MicrosoftAccessSource.withSourceRetryWait(Object sourceRetryWait)

Parameters:

sourceRetryWait

Applies to