class
Amazonite::Kinesis::PartitionField
- Amazonite::Kinesis::PartitionField
- Reference
- Object
Overview
Specifies a single partition field.
Included Modules
- JSON::Serializable
Defined in:
kinesis/partition_field.crConstructors
- .new(transform : PartitionTransform, source_name : String)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#source_name : String
The name of the source column used for partitioning.
-
#source_name=(source_name : String)
The name of the source column used for partitioning.
-
#transform : PartitionTransform
The partition transform to apply.
-
#transform=(transform : PartitionTransform)
The partition transform to apply.
- #validate! : Nil
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def source_name : String
#
The name of the source column used for partitioning. This column must be of the timestamptz
type.
def source_name=(source_name : String)
#
The name of the source column used for partitioning. This column must be of the timestamptz
type.
def transform : PartitionTransform
#
The partition transform to apply. The only valid value is TIME_HOUR.
def transform=(transform : PartitionTransform)
#
The partition transform to apply. The only valid value is TIME_HOUR.