WranglingDataFlow Class

public final class WranglingDataFlow
extends DataFlow

Power Query data flow.

Constructor Summary

Constructor Description
WranglingDataFlow()

Creates an instance of WranglingDataFlow class.

Method Summary

Modifier and Type Method and Description
String documentLocale()

Get the documentLocale property: Locale of the Power query mashup document.

static WranglingDataFlow fromJson(JsonReader jsonReader)

Reads an instance of WranglingDataFlow from the JsonReader.

String script()

Get the script property: Power query mashup script.

List<PowerQuerySource> sources()

Get the sources property: List of sources in Power Query.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of data flow.

void validate()

Validates the instance.

WranglingDataFlow withAnnotations(List<Object> annotations)

Set the annotations property: List of tags that can be used for describing the data flow.

WranglingDataFlow withDescription(String description)

Set the description property: The description of the data flow.

WranglingDataFlow withDocumentLocale(String documentLocale)

Set the documentLocale property: Locale of the Power query mashup document.

WranglingDataFlow withFolder(DataFlowFolder folder)

Set the folder property: The folder that this data flow is in.

WranglingDataFlow withScript(String script)

Set the script property: Power query mashup script.

WranglingDataFlow withSources(List<PowerQuerySource> sources)

Set the sources property: List of sources in Power Query.

Methods inherited from DataFlow

Methods inherited from java.lang.Object

Constructor Details

WranglingDataFlow

public WranglingDataFlow()

Creates an instance of WranglingDataFlow class.

Method Details

documentLocale

public String documentLocale()

Get the documentLocale property: Locale of the Power query mashup document.

Returns:

the documentLocale value.

fromJson

public static WranglingDataFlow fromJson(JsonReader jsonReader)

Reads an instance of WranglingDataFlow from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

script

public String script()

Get the script property: Power query mashup script.

Returns:

the script value.

sources

public List<PowerQuerySource> sources()

Get the sources property: List of sources in Power Query.

Returns:

the sources value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WranglingDataFlow.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of data flow.

Overrides:

WranglingDataFlow.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

WranglingDataFlow.validate()

withAnnotations

public WranglingDataFlow withAnnotations(List<Object> annotations)

Set the annotations property: List of tags that can be used for describing the data flow.

Overrides:

WranglingDataFlow.withAnnotations(List<Object> annotations)

Parameters:

annotations

withDescription

public WranglingDataFlow withDescription(String description)

Set the description property: The description of the data flow.

Overrides:

WranglingDataFlow.withDescription(String description)

Parameters:

description

withDocumentLocale

public WranglingDataFlow withDocumentLocale(String documentLocale)

Set the documentLocale property: Locale of the Power query mashup document.

Parameters:

documentLocale - the documentLocale value to set.

Returns:

the WranglingDataFlow object itself.

withFolder

public WranglingDataFlow withFolder(DataFlowFolder folder)

Set the folder property: The folder that this data flow is in. If not specified, Data flow will appear at the root level.

Overrides:

WranglingDataFlow.withFolder(DataFlowFolder folder)

Parameters:

folder

withScript

public WranglingDataFlow withScript(String script)

Set the script property: Power query mashup script.

Parameters:

script - the script value to set.

Returns:

the WranglingDataFlow object itself.

withSources

public WranglingDataFlow withSources(List<PowerQuerySource> sources)

Set the sources property: List of sources in Power Query.

Parameters:

sources - the sources value to set.

Returns:

the WranglingDataFlow object itself.

Applies to