CopyProgressDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.models.CopyProgressDetails

Implements

public final class CopyProgressDetails
implements JsonSerializable<CopyProgressDetails>

Details on progress of ADF copy activity.

Constructor Summary

Constructor Description
CopyProgressDetails()

Creates an instance of CopyProgressDetails class.

Method Summary

Modifier and Type Method and Description
Integer copyDuration()

Get the copyDuration property: Copy Duration in seconds.

OffsetDateTime copyStart()

Get the copyStart property: Copy Start.

Double copyThroughput()

Get the copyThroughput property: Copy throughput in KBps.

Long dataRead()

Get the dataRead property: Bytes read.

Long dataWritten()

Get the dataWritten property: Bytes written.

static CopyProgressDetails fromJson(JsonReader jsonReader)

Reads an instance of CopyProgressDetails from the JsonReader.

String parallelCopyType()

Get the parallelCopyType property: Type of parallel copy (Dynamic range, Physical partition, none).

Long rowsCopied()

Get the rowsCopied property: Rows Copied.

Long rowsRead()

Get the rowsRead property: Rows read.

String status()

Get the status property: Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).

String tableName()

Get the tableName property: Table Name.

JsonWriter toJson(JsonWriter jsonWriter)
Integer usedParallelCopies()

Get the usedParallelCopies property: The degree of parallelization.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

CopyProgressDetails

public CopyProgressDetails()

Creates an instance of CopyProgressDetails class.

Method Details

copyDuration

public Integer copyDuration()

Get the copyDuration property: Copy Duration in seconds.

Returns:

the copyDuration value.

copyStart

public OffsetDateTime copyStart()

Get the copyStart property: Copy Start.

Returns:

the copyStart value.

copyThroughput

public Double copyThroughput()

Get the copyThroughput property: Copy throughput in KBps.

Returns:

the copyThroughput value.

dataRead

public Long dataRead()

Get the dataRead property: Bytes read.

Returns:

the dataRead value.

dataWritten

public Long dataWritten()

Get the dataWritten property: Bytes written.

Returns:

the dataWritten value.

fromJson

public static CopyProgressDetails fromJson(JsonReader jsonReader)

Reads an instance of CopyProgressDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

parallelCopyType

public String parallelCopyType()

Get the parallelCopyType property: Type of parallel copy (Dynamic range, Physical partition, none).

Returns:

the parallelCopyType value.

rowsCopied

public Long rowsCopied()

Get the rowsCopied property: Rows Copied.

Returns:

the rowsCopied value.

rowsRead

public Long rowsRead()

Get the rowsRead property: Rows read.

Returns:

the rowsRead value.

status

public String status()

Get the status property: Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).

Returns:

the status value.

tableName

public String tableName()

Get the tableName property: Table Name.

Returns:

the tableName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

usedParallelCopies

public Integer usedParallelCopies()

Get the usedParallelCopies property: The degree of parallelization.

Returns:

the usedParallelCopies value.

validate

public void validate()

Validates the instance.

Applies to