Class WindowAggregation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.graph.v1.WindowAggregation
All Implemented Interfaces:
WindowAggregationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class WindowAggregation extends com.google.protobuf.GeneratedMessageV3 implements WindowAggregationOrBuilder
Protobuf type chalk.graph.v1.WindowAggregation
See Also:
  • Field Details

    • NAMESPACE_FIELD_NUMBER

      public static final int NAMESPACE_FIELD_NUMBER
      See Also:
    • GROUP_BY_FIELD_NUMBER

      public static final int GROUP_BY_FIELD_NUMBER
      See Also:
    • BUCKET_DURATION_FIELD_NUMBER

      public static final int BUCKET_DURATION_FIELD_NUMBER
      See Also:
    • AGGREGATION_FIELD_NUMBER

      public static final int AGGREGATION_FIELD_NUMBER
      See Also:
    • AGGREGATE_ON_FIELD_NUMBER

      public static final int AGGREGATE_ON_FIELD_NUMBER
      See Also:
    • ARROW_TYPE_FIELD_NUMBER

      public static final int ARROW_TYPE_FIELD_NUMBER
      See Also:
    • FILTERS_FIELD_NUMBER

      public static final int FILTERS_FIELD_NUMBER
      See Also:
    • BACKFILL_RESOLVER_FIELD_NUMBER

      public static final int BACKFILL_RESOLVER_FIELD_NUMBER
      See Also:
    • BACKFILL_LOOKBACK_DURATION_FIELD_NUMBER

      public static final int BACKFILL_LOOKBACK_DURATION_FIELD_NUMBER
      See Also:
    • BACKFILL_START_TIME_FIELD_NUMBER

      public static final int BACKFILL_START_TIME_FIELD_NUMBER
      See Also:
    • CONTINUOUS_RESOLVER_FIELD_NUMBER

      public static final int CONTINUOUS_RESOLVER_FIELD_NUMBER
      See Also:
    • CONTINUOUS_BUFFER_DURATION_FIELD_NUMBER

      public static final int CONTINUOUS_BUFFER_DURATION_FIELD_NUMBER
      See Also:
    • BACKFILL_SCHEDULE_FIELD_NUMBER

      public static final int BACKFILL_SCHEDULE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getNamespace

      public String getNamespace()
      string namespace = 1 [json_name = "namespace"];
      Specified by:
      getNamespace in interface WindowAggregationOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 1 [json_name = "namespace"];
      Specified by:
      getNamespaceBytes in interface WindowAggregationOrBuilder
      Returns:
      The bytes for namespace.
    • getGroupByList

      public List<FeatureReference> getGroupByList()
      repeated .chalk.graph.v1.FeatureReference group_by = 2 [json_name = "groupBy"];
      Specified by:
      getGroupByList in interface WindowAggregationOrBuilder
    • getGroupByOrBuilderList

      public List<? extends FeatureReferenceOrBuilder> getGroupByOrBuilderList()
      repeated .chalk.graph.v1.FeatureReference group_by = 2 [json_name = "groupBy"];
      Specified by:
      getGroupByOrBuilderList in interface WindowAggregationOrBuilder
    • getGroupByCount

      public int getGroupByCount()
      repeated .chalk.graph.v1.FeatureReference group_by = 2 [json_name = "groupBy"];
      Specified by:
      getGroupByCount in interface WindowAggregationOrBuilder
    • getGroupBy

      public FeatureReference getGroupBy(int index)
      repeated .chalk.graph.v1.FeatureReference group_by = 2 [json_name = "groupBy"];
      Specified by:
      getGroupBy in interface WindowAggregationOrBuilder
    • getGroupByOrBuilder

      public FeatureReferenceOrBuilder getGroupByOrBuilder(int index)
      repeated .chalk.graph.v1.FeatureReference group_by = 2 [json_name = "groupBy"];
      Specified by:
      getGroupByOrBuilder in interface WindowAggregationOrBuilder
    • hasBucketDuration

      public boolean hasBucketDuration()
      .google.protobuf.Duration bucket_duration = 3 [json_name = "bucketDuration"];
      Specified by:
      hasBucketDuration in interface WindowAggregationOrBuilder
      Returns:
      Whether the bucketDuration field is set.
    • getBucketDuration

      public com.google.protobuf.Duration getBucketDuration()
      .google.protobuf.Duration bucket_duration = 3 [json_name = "bucketDuration"];
      Specified by:
      getBucketDuration in interface WindowAggregationOrBuilder
      Returns:
      The bucketDuration.
    • getBucketDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getBucketDurationOrBuilder()
      .google.protobuf.Duration bucket_duration = 3 [json_name = "bucketDuration"];
      Specified by:
      getBucketDurationOrBuilder in interface WindowAggregationOrBuilder
    • getAggregation

      public String getAggregation()
      string aggregation = 4 [json_name = "aggregation"];
      Specified by:
      getAggregation in interface WindowAggregationOrBuilder
      Returns:
      The aggregation.
    • getAggregationBytes

      public com.google.protobuf.ByteString getAggregationBytes()
      string aggregation = 4 [json_name = "aggregation"];
      Specified by:
      getAggregationBytes in interface WindowAggregationOrBuilder
      Returns:
      The bytes for aggregation.
    • hasAggregateOn

      public boolean hasAggregateOn()
      optional .chalk.graph.v1.FeatureReference aggregate_on = 5 [json_name = "aggregateOn"];
      Specified by:
      hasAggregateOn in interface WindowAggregationOrBuilder
      Returns:
      Whether the aggregateOn field is set.
    • getAggregateOn

      public FeatureReference getAggregateOn()
      optional .chalk.graph.v1.FeatureReference aggregate_on = 5 [json_name = "aggregateOn"];
      Specified by:
      getAggregateOn in interface WindowAggregationOrBuilder
      Returns:
      The aggregateOn.
    • getAggregateOnOrBuilder

      public FeatureReferenceOrBuilder getAggregateOnOrBuilder()
      optional .chalk.graph.v1.FeatureReference aggregate_on = 5 [json_name = "aggregateOn"];
      Specified by:
      getAggregateOnOrBuilder in interface WindowAggregationOrBuilder
    • hasArrowType

      public boolean hasArrowType()
      .chalk.arrow.v1.ArrowType arrow_type = 6 [json_name = "arrowType"];
      Specified by:
      hasArrowType in interface WindowAggregationOrBuilder
      Returns:
      Whether the arrowType field is set.
    • getArrowType

      public ArrowType getArrowType()
      .chalk.arrow.v1.ArrowType arrow_type = 6 [json_name = "arrowType"];
      Specified by:
      getArrowType in interface WindowAggregationOrBuilder
      Returns:
      The arrowType.
    • getArrowTypeOrBuilder

      public ArrowTypeOrBuilder getArrowTypeOrBuilder()
      .chalk.arrow.v1.ArrowType arrow_type = 6 [json_name = "arrowType"];
      Specified by:
      getArrowTypeOrBuilder in interface WindowAggregationOrBuilder
    • getFiltersList

      public List<LogicalExprNode> getFiltersList()
      repeated .chalk.expression.v1.LogicalExprNode filters = 7 [json_name = "filters"];
      Specified by:
      getFiltersList in interface WindowAggregationOrBuilder
    • getFiltersOrBuilderList

      public List<? extends LogicalExprNodeOrBuilder> getFiltersOrBuilderList()
      repeated .chalk.expression.v1.LogicalExprNode filters = 7 [json_name = "filters"];
      Specified by:
      getFiltersOrBuilderList in interface WindowAggregationOrBuilder
    • getFiltersCount

      public int getFiltersCount()
      repeated .chalk.expression.v1.LogicalExprNode filters = 7 [json_name = "filters"];
      Specified by:
      getFiltersCount in interface WindowAggregationOrBuilder
    • getFilters

      public LogicalExprNode getFilters(int index)
      repeated .chalk.expression.v1.LogicalExprNode filters = 7 [json_name = "filters"];
      Specified by:
      getFilters in interface WindowAggregationOrBuilder
    • getFiltersOrBuilder

      public LogicalExprNodeOrBuilder getFiltersOrBuilder(int index)
      repeated .chalk.expression.v1.LogicalExprNode filters = 7 [json_name = "filters"];
      Specified by:
      getFiltersOrBuilder in interface WindowAggregationOrBuilder
    • hasBackfillResolver

      public boolean hasBackfillResolver()
       The resolver to use for back-filling the materialized aggregate.
       If not provided, the data will be back filled using the resolver
       that would run for an offline query.
       
      optional string backfill_resolver = 8 [json_name = "backfillResolver"];
      Specified by:
      hasBackfillResolver in interface WindowAggregationOrBuilder
      Returns:
      Whether the backfillResolver field is set.
    • getBackfillResolver

      public String getBackfillResolver()
       The resolver to use for back-filling the materialized aggregate.
       If not provided, the data will be back filled using the resolver
       that would run for an offline query.
       
      optional string backfill_resolver = 8 [json_name = "backfillResolver"];
      Specified by:
      getBackfillResolver in interface WindowAggregationOrBuilder
      Returns:
      The backfillResolver.
    • getBackfillResolverBytes

      public com.google.protobuf.ByteString getBackfillResolverBytes()
       The resolver to use for back-filling the materialized aggregate.
       If not provided, the data will be back filled using the resolver
       that would run for an offline query.
       
      optional string backfill_resolver = 8 [json_name = "backfillResolver"];
      Specified by:
      getBackfillResolverBytes in interface WindowAggregationOrBuilder
      Returns:
      The bytes for backfillResolver.
    • hasBackfillLookbackDuration

      public boolean hasBackfillLookbackDuration()
       The amount of time before the start of the previous backfill
       to consider when running the backfill resolver. Set this parameter
       to the be equal to the latest arriving data in the backfill window.
       
      optional .google.protobuf.Duration backfill_lookback_duration = 9 [json_name = "backfillLookbackDuration"];
      Specified by:
      hasBackfillLookbackDuration in interface WindowAggregationOrBuilder
      Returns:
      Whether the backfillLookbackDuration field is set.
    • getBackfillLookbackDuration

      public com.google.protobuf.Duration getBackfillLookbackDuration()
       The amount of time before the start of the previous backfill
       to consider when running the backfill resolver. Set this parameter
       to the be equal to the latest arriving data in the backfill window.
       
      optional .google.protobuf.Duration backfill_lookback_duration = 9 [json_name = "backfillLookbackDuration"];
      Specified by:
      getBackfillLookbackDuration in interface WindowAggregationOrBuilder
      Returns:
      The backfillLookbackDuration.
    • getBackfillLookbackDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getBackfillLookbackDurationOrBuilder()
       The amount of time before the start of the previous backfill
       to consider when running the backfill resolver. Set this parameter
       to the be equal to the latest arriving data in the backfill window.
       
      optional .google.protobuf.Duration backfill_lookback_duration = 9 [json_name = "backfillLookbackDuration"];
      Specified by:
      getBackfillLookbackDurationOrBuilder in interface WindowAggregationOrBuilder
    • hasBackfillStartTime

      public boolean hasBackfillStartTime()
       The time at which to start back filling the materialized aggregate.
       If not provided, the backfill consider the earliest available data returned
       by the `backfill_resolver`.
       
      optional .google.protobuf.Timestamp backfill_start_time = 10 [json_name = "backfillStartTime"];
      Specified by:
      hasBackfillStartTime in interface WindowAggregationOrBuilder
      Returns:
      Whether the backfillStartTime field is set.
    • getBackfillStartTime

      public com.google.protobuf.Timestamp getBackfillStartTime()
       The time at which to start back filling the materialized aggregate.
       If not provided, the backfill consider the earliest available data returned
       by the `backfill_resolver`.
       
      optional .google.protobuf.Timestamp backfill_start_time = 10 [json_name = "backfillStartTime"];
      Specified by:
      getBackfillStartTime in interface WindowAggregationOrBuilder
      Returns:
      The backfillStartTime.
    • getBackfillStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getBackfillStartTimeOrBuilder()
       The time at which to start back filling the materialized aggregate.
       If not provided, the backfill consider the earliest available data returned
       by the `backfill_resolver`.
       
      optional .google.protobuf.Timestamp backfill_start_time = 10 [json_name = "backfillStartTime"];
      Specified by:
      getBackfillStartTimeOrBuilder in interface WindowAggregationOrBuilder
    • hasContinuousResolver

      public boolean hasContinuousResolver()
       The resolver to use for continuous updates to the materialized aggregate.
       If not provided, the data will be updated using the resolver that would run
       for an online query.
       
      optional string continuous_resolver = 11 [json_name = "continuousResolver"];
      Specified by:
      hasContinuousResolver in interface WindowAggregationOrBuilder
      Returns:
      Whether the continuousResolver field is set.
    • getContinuousResolver

      public String getContinuousResolver()
       The resolver to use for continuous updates to the materialized aggregate.
       If not provided, the data will be updated using the resolver that would run
       for an online query.
       
      optional string continuous_resolver = 11 [json_name = "continuousResolver"];
      Specified by:
      getContinuousResolver in interface WindowAggregationOrBuilder
      Returns:
      The continuousResolver.
    • getContinuousResolverBytes

      public com.google.protobuf.ByteString getContinuousResolverBytes()
       The resolver to use for continuous updates to the materialized aggregate.
       If not provided, the data will be updated using the resolver that would run
       for an online query.
       
      optional string continuous_resolver = 11 [json_name = "continuousResolver"];
      Specified by:
      getContinuousResolverBytes in interface WindowAggregationOrBuilder
      Returns:
      The bytes for continuousResolver.
    • hasContinuousBufferDuration

      public boolean hasContinuousBufferDuration()
       The period for which to use the continuous resolver, instead
       of relying upon the last backfill. If not provided, and a continuous
       resolver is provided, this will be set to backfill_lookback_duration.
       
      optional .google.protobuf.Duration continuous_buffer_duration = 12 [json_name = "continuousBufferDuration"];
      Specified by:
      hasContinuousBufferDuration in interface WindowAggregationOrBuilder
      Returns:
      Whether the continuousBufferDuration field is set.
    • getContinuousBufferDuration

      public com.google.protobuf.Duration getContinuousBufferDuration()
       The period for which to use the continuous resolver, instead
       of relying upon the last backfill. If not provided, and a continuous
       resolver is provided, this will be set to backfill_lookback_duration.
       
      optional .google.protobuf.Duration continuous_buffer_duration = 12 [json_name = "continuousBufferDuration"];
      Specified by:
      getContinuousBufferDuration in interface WindowAggregationOrBuilder
      Returns:
      The continuousBufferDuration.
    • getContinuousBufferDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getContinuousBufferDurationOrBuilder()
       The period for which to use the continuous resolver, instead
       of relying upon the last backfill. If not provided, and a continuous
       resolver is provided, this will be set to backfill_lookback_duration.
       
      optional .google.protobuf.Duration continuous_buffer_duration = 12 [json_name = "continuousBufferDuration"];
      Specified by:
      getContinuousBufferDurationOrBuilder in interface WindowAggregationOrBuilder
    • hasBackfillSchedule

      public boolean hasBackfillSchedule()
       A crontab or duration string to specify the schedule for back filling the
       materialized aggregate.
       
      optional string backfill_schedule = 13 [json_name = "backfillSchedule"];
      Specified by:
      hasBackfillSchedule in interface WindowAggregationOrBuilder
      Returns:
      Whether the backfillSchedule field is set.
    • getBackfillSchedule

      public String getBackfillSchedule()
       A crontab or duration string to specify the schedule for back filling the
       materialized aggregate.
       
      optional string backfill_schedule = 13 [json_name = "backfillSchedule"];
      Specified by:
      getBackfillSchedule in interface WindowAggregationOrBuilder
      Returns:
      The backfillSchedule.
    • getBackfillScheduleBytes

      public com.google.protobuf.ByteString getBackfillScheduleBytes()
       A crontab or duration string to specify the schedule for back filling the
       materialized aggregate.
       
      optional string backfill_schedule = 13 [json_name = "backfillSchedule"];
      Specified by:
      getBackfillScheduleBytes in interface WindowAggregationOrBuilder
      Returns:
      The bytes for backfillSchedule.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static WindowAggregation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WindowAggregation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WindowAggregation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WindowAggregation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WindowAggregation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WindowAggregation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WindowAggregation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WindowAggregation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static WindowAggregation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static WindowAggregation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WindowAggregation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WindowAggregation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public WindowAggregation.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static WindowAggregation.Builder newBuilder()
    • newBuilder

      public static WindowAggregation.Builder newBuilder(WindowAggregation prototype)
    • toBuilder

      public WindowAggregation.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected WindowAggregation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static WindowAggregation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<WindowAggregation> parser()
    • getParserForType

      public com.google.protobuf.Parser<WindowAggregation> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public WindowAggregation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder