PhoenixSource Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. CopySource - com.
azure. analytics. synapse. artifacts. models. TabularSource - com.
azure. analytics. synapse. artifacts. models. PhoenixSource
- com.
- com.
- com.
public final class PhoenixSource
extends TabularSource
A copy activity Phoenix server source.
Constructor Summary
| Constructor | Description |
|---|---|
| PhoenixSource() |
Creates an instance of Phoenix |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Phoenix |
fromJson(JsonReader jsonReader)
Reads an instance of Phoenix |
| Object |
getQuery()
Get the query property: A query to retrieve data from source. |
| String |
getType()
Get the type property: Copy source type. |
|
Phoenix |
setAdditionalColumns(Object additionalColumns)
Set the additional |
|
Phoenix |
setMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
|
Phoenix |
setQuery(Object query)
Set the query property: A query to retrieve data from source. |
|
Phoenix |
setQueryTimeout(Object queryTimeout)
Set the query |
|
Phoenix |
setSourceRetryCount(Object sourceRetryCount)
Set the source |
|
Phoenix |
setSourceRetryWait(Object sourceRetryWait)
Set the source |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from CopySource
Methods inherited from TabularSource
Methods inherited from java.lang.Object
Constructor Details
PhoenixSource
public PhoenixSource()
Creates an instance of PhoenixSource class.
Method Details
fromJson
public static PhoenixSource fromJson(JsonReader jsonReader)
Reads an instance of PhoenixSource from the JsonReader.
Parameters:
Returns:
Throws:
getQuery
public Object getQuery()
Get the query property: A query to retrieve data from source. Type: string (or Expression with resultType string).
Returns:
getType
public String getType()
Get the type property: Copy source type.
Overrides:
PhoenixSource.getType()Returns:
setAdditionalColumns
public PhoenixSource 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:
PhoenixSource.setAdditionalColumns(Object additionalColumns)Parameters:
setMaxConcurrentConnections
public PhoenixSource 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:
PhoenixSource.setMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
setQuery
public PhoenixSource setQuery(Object query)
Set the query property: A query to retrieve data from source. Type: string (or Expression with resultType string).
Parameters:
Returns:
setQueryTimeout
public PhoenixSource 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:
PhoenixSource.setQueryTimeout(Object queryTimeout)Parameters:
setSourceRetryCount
public PhoenixSource setSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).
Overrides:
PhoenixSource.setSourceRetryCount(Object sourceRetryCount)Parameters:
setSourceRetryWait
public PhoenixSource 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:
PhoenixSource.setSourceRetryWait(Object sourceRetryWait)Parameters:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PhoenixSource.toJson(JsonWriter jsonWriter)Parameters:
Throws: