struct Crysda::HashBuilder
- Crysda::HashBuilder
- Struct
- Value
- Object
Overview
Custom Hashing helper. This provides a calculated hash of contents which is consistent on each and every run. This doesn't conflict with and/or override Crystal Hashing functionality which is used for object equality checks.
Hash value generated by this builder is only used for internal grouping purposes to ensure the consistency on each and every run/invocation.
Refer to CustomColumnValue
for more details and usage purposes.
Defined in:
crysda/utils.crConstructors
Instance Method Summary
- #add(val : Bool)
- #add(val : Char)
- #add(val : String)
- #add(val : AnyVal)
- #add(val : Nil)
- #add(val : Iterable)
- #add(value : Float32)
- #add(value : Float64)
- #add(value : Float)
- #add(val : Int)
- #add(val : UUID)
- #add(val : CustomColumnValue)
- #add(val)
- #hashcode(val)
- #hashcode : Int64