SelfDependencyTumblingWindowTriggerReference Class

public final class SelfDependencyTumblingWindowTriggerReference
extends DependencyReference

Self referenced tumbling window trigger dependency.

Constructor Summary

Constructor Description
SelfDependencyTumblingWindowTriggerReference()

Creates an instance of SelfDependencyTumblingWindowTriggerReference class.

Method Summary

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

Reads an instance of SelfDependencyTumblingWindowTriggerReference 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.

SelfDependencyTumblingWindowTriggerReference setOffset(String offset)

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

SelfDependencyTumblingWindowTriggerReference setSize(String size)

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

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from DependencyReference

Methods inherited from java.lang.Object

Constructor Details

SelfDependencyTumblingWindowTriggerReference

public SelfDependencyTumblingWindowTriggerReference()

Creates an instance of SelfDependencyTumblingWindowTriggerReference class.

Method Details

fromJson

public static SelfDependencyTumblingWindowTriggerReference fromJson(JsonReader jsonReader)

Reads an instance of SelfDependencyTumblingWindowTriggerReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SelfDependencyTumblingWindowTriggerReference 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:

SelfDependencyTumblingWindowTriggerReference.getType()

Returns:

the type value.

setOffset

public SelfDependencyTumblingWindowTriggerReference 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 SelfDependencyTumblingWindowTriggerReference object itself.

setSize

public SelfDependencyTumblingWindowTriggerReference 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 SelfDependencyTumblingWindowTriggerReference object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SelfDependencyTumblingWindowTriggerReference.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to