MicrosoftAccessSink Class

public final class MicrosoftAccessSink
extends CopySink

A copy activity Microsoft Access sink.

Constructor Summary

Constructor Description
MicrosoftAccessSink()

Creates an instance of MicrosoftAccessSink class.

Method Summary

Modifier and Type Method and Description
Object preCopyScript()

Get the preCopyScript property: A query to execute before starting the copy.

String type()

Get the type property: Copy sink type.

void validate()

Validates the instance.

MicrosoftAccessSink withDisableMetricsCollection(Object disableMetricsCollection)

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

MicrosoftAccessSink withMaxConcurrentConnections(Object maxConcurrentConnections)

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

MicrosoftAccessSink withPreCopyScript(Object preCopyScript)

Set the preCopyScript property: A query to execute before starting the copy.

MicrosoftAccessSink withSinkRetryCount(Object sinkRetryCount)

Set the sinkRetryCount property: Sink retry count.

MicrosoftAccessSink withSinkRetryWait(Object sinkRetryWait)

Set the sinkRetryWait property: Sink retry wait.

MicrosoftAccessSink withWriteBatchSize(Object writeBatchSize)

Set the writeBatchSize property: Write batch size.

MicrosoftAccessSink withWriteBatchTimeout(Object writeBatchTimeout)

Set the writeBatchTimeout property: Write batch timeout.

Methods inherited from CopySink

Methods inherited from java.lang.Object

Constructor Details

MicrosoftAccessSink

public MicrosoftAccessSink()

Creates an instance of MicrosoftAccessSink class.

Method Details

preCopyScript

public Object preCopyScript()

Get the preCopyScript property: A query to execute before starting the copy. Type: string (or Expression with resultType string).

Returns:

the preCopyScript value.

type

public String type()

Get the type property: Copy sink type.

Overrides:

MicrosoftAccessSink.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftAccessSink.validate()

withDisableMetricsCollection

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

MicrosoftAccessSink.withDisableMetricsCollection(Object disableMetricsCollection)

Parameters:

disableMetricsCollection

withMaxConcurrentConnections

public MicrosoftAccessSink withMaxConcurrentConnections(Object maxConcurrentConnections)

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

Overrides:

MicrosoftAccessSink.withMaxConcurrentConnections(Object maxConcurrentConnections)

Parameters:

maxConcurrentConnections

withPreCopyScript

public MicrosoftAccessSink withPreCopyScript(Object preCopyScript)

Set the preCopyScript property: A query to execute before starting the copy. Type: string (or Expression with resultType string).

Parameters:

preCopyScript - the preCopyScript value to set.

Returns:

the MicrosoftAccessSink object itself.

withSinkRetryCount

public MicrosoftAccessSink withSinkRetryCount(Object sinkRetryCount)

Set the sinkRetryCount property: Sink retry count. Type: integer (or Expression with resultType integer).

Overrides:

MicrosoftAccessSink.withSinkRetryCount(Object sinkRetryCount)

Parameters:

sinkRetryCount

withSinkRetryWait

public MicrosoftAccessSink withSinkRetryWait(Object sinkRetryWait)

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

Overrides:

MicrosoftAccessSink.withSinkRetryWait(Object sinkRetryWait)

Parameters:

sinkRetryWait

withWriteBatchSize

public MicrosoftAccessSink withWriteBatchSize(Object writeBatchSize)

Set the writeBatchSize property: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.

Overrides:

MicrosoftAccessSink.withWriteBatchSize(Object writeBatchSize)

Parameters:

writeBatchSize

withWriteBatchTimeout

public MicrosoftAccessSink withWriteBatchTimeout(Object writeBatchTimeout)

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

Overrides:

MicrosoftAccessSink.withWriteBatchTimeout(Object writeBatchTimeout)

Parameters:

writeBatchTimeout

Applies to