class Amazonite::Kinesis::PartitionField

Overview

Specifies a single partition field.

Included Modules

Defined in:

kinesis/partition_field.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(transform : PartitionTransform, source_name : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def source_name : String #

The name of the source column used for partitioning. This column must be of the timestamptz type.


[View source]
def source_name=(source_name : String) #

The name of the source column used for partitioning. This column must be of the timestamptz type.


[View source]
def transform : PartitionTransform #

The partition transform to apply. The only valid value is TIME_HOUR.


[View source]
def transform=(transform : PartitionTransform) #

The partition transform to apply. The only valid value is TIME_HOUR.


[View source]
def validate! : Nil #

[View source]