BinarySource Class

public final class BinarySource
extends CopySource

A copy activity Binary source.

Constructor Summary

Constructor Description
BinarySource()

Creates an instance of BinarySource class.

Method Summary

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

Reads an instance of BinarySource from the JsonReader.

BinaryReadSettings getFormatSettings()

Get the formatSettings property: Binary format settings.

StoreReadSettings getStoreSettings()

Get the storeSettings property: Binary store settings.

String getType()

Get the type property: Copy source type.

BinarySource setFormatSettings(BinaryReadSettings formatSettings)

Set the formatSettings property: Binary format settings.

BinarySource setMaxConcurrentConnections(Object maxConcurrentConnections)

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

BinarySource setSourceRetryCount(Object sourceRetryCount)

Set the sourceRetryCount property: Source retry count.

BinarySource setSourceRetryWait(Object sourceRetryWait)

Set the sourceRetryWait property: Source retry wait.

BinarySource setStoreSettings(StoreReadSettings storeSettings)

Set the storeSettings property: Binary store settings.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from CopySource

Methods inherited from java.lang.Object

Constructor Details

BinarySource

public BinarySource()

Creates an instance of BinarySource class.

Method Details

fromJson

public static BinarySource fromJson(JsonReader jsonReader)

Reads an instance of BinarySource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getFormatSettings

public BinaryReadSettings getFormatSettings()

Get the formatSettings property: Binary format settings.

Returns:

the formatSettings value.

getStoreSettings

public StoreReadSettings getStoreSettings()

Get the storeSettings property: Binary store settings.

Returns:

the storeSettings value.

getType

public String getType()

Get the type property: Copy source type.

Overrides:

BinarySource.getType()

Returns:

the type value.

setFormatSettings

public BinarySource setFormatSettings(BinaryReadSettings formatSettings)

Set the formatSettings property: Binary format settings.

Parameters:

formatSettings - the formatSettings value to set.

Returns:

the BinarySource object itself.

setMaxConcurrentConnections

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

BinarySource.setMaxConcurrentConnections(Object maxConcurrentConnections)

Parameters:

maxConcurrentConnections

setSourceRetryCount

public BinarySource setSourceRetryCount(Object sourceRetryCount)

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

Overrides:

BinarySource.setSourceRetryCount(Object sourceRetryCount)

Parameters:

sourceRetryCount

setSourceRetryWait

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

BinarySource.setSourceRetryWait(Object sourceRetryWait)

Parameters:

sourceRetryWait

setStoreSettings

public BinarySource setStoreSettings(StoreReadSettings storeSettings)

Set the storeSettings property: Binary store settings.

Parameters:

storeSettings - the storeSettings value to set.

Returns:

the BinarySource object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BinarySource.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to