TumblingWindowTriggerDependencyReference Class

public final class TumblingWindowTriggerDependencyReference
extends TriggerDependencyReference

Referenced tumbling window trigger dependency.

Constructor Summary

Constructor Description
TumblingWindowTriggerDependencyReference()

Creates an instance of TumblingWindowTriggerDependencyReference class.

Method Summary

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

Reads an instance of TumblingWindowTriggerDependencyReference from the JsonReader.

String getOffset()

Get the offset property: Timespan applied to the start time of a tumbling window when evaluating dependency.

String getSize()

Get the size property: The size of the window when evaluating the dependency.

String getType()

Get the type property: The type of dependency reference.

TumblingWindowTriggerDependencyReference setOffset(String offset)

Set the offset property: Timespan applied to the start time of a tumbling window when evaluating dependency.

TumblingWindowTriggerDependencyReference setReferenceTrigger(TriggerReference referenceTrigger)

Set the referenceTrigger property: Referenced trigger.

TumblingWindowTriggerDependencyReference setSize(String size)

Set the size property: The size of the window when evaluating the dependency.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from TriggerDependencyReference

Methods inherited from java.lang.Object

Constructor Details

TumblingWindowTriggerDependencyReference

public TumblingWindowTriggerDependencyReference()

Creates an instance of TumblingWindowTriggerDependencyReference class.

Method Details

fromJson

public static TumblingWindowTriggerDependencyReference fromJson(JsonReader jsonReader)

Reads an instance of TumblingWindowTriggerDependencyReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TumblingWindowTriggerDependencyReference if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getOffset

public String getOffset()

Get the offset property: Timespan applied to the start time of a tumbling window when evaluating dependency.

Returns:

the offset value.

getSize

public String getSize()

Get the size property: The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used.

Returns:

the size value.

getType

public String getType()

Get the type property: The type of dependency reference.

Overrides:

TumblingWindowTriggerDependencyReference.getType()

Returns:

the type value.

setOffset

public TumblingWindowTriggerDependencyReference setOffset(String offset)

Set the offset property: Timespan applied to the start time of a tumbling window when evaluating dependency.

Parameters:

offset - the offset value to set.

Returns:

the TumblingWindowTriggerDependencyReference object itself.

setReferenceTrigger

public TumblingWindowTriggerDependencyReference setReferenceTrigger(TriggerReference referenceTrigger)

Set the referenceTrigger property: Referenced trigger.

Overrides:

TumblingWindowTriggerDependencyReference.setReferenceTrigger(TriggerReference referenceTrigger)

Parameters:

referenceTrigger

setSize

public TumblingWindowTriggerDependencyReference setSize(String size)

Set the size property: The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used.

Parameters:

size - the size value to set.

Returns:

the TumblingWindowTriggerDependencyReference object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

TumblingWindowTriggerDependencyReference.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to