Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Net.ParamsOfCreateBlockIterator
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Net.ParamsOfCreateBlockIterator
- Record Components:
startTime
- If the application specifies this parameter then the iteration includes blocks with `gen_utime` >= `start_time`. Otherwise the iteration starts from zero state. Must be specified in seconds. Starting time to iterate from.endTime
- If the application specifies this parameter then the iteration includes blocks with `gen_utime` invalid input: '<' `end_time`. Otherwise the iteration never stops. Must be specified in seconds. Optional end time to iterate for.shardFilter
- If the application specifies this parameter and it is not the empty array then the iteration will include items related to accounts that belongs to the specified shard prefixes. Shard prefix must be represented as a string "workchain:prefix". Where `workchain` is a signed integer and the `prefix` if a hexadecimal representation if the 64-bit unsigned integer with tagged shard prefix. For example: "0:3800000000000000". Shard prefix filter.result
- List of the fields that must be returned for iterated items. This field is the same as the `result` parameter of the `query_collection` function. Note that iterated items can contains additional fields that are not requested in the `result`. Projection (result) string.
- Enclosing class:
Net
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfCreateBlockIterator
(Long startTime, Long endTime, String[] shardFilter, String result) Creates an instance of aParamsOfCreateBlockIterator
record class. -
Method Summary
Modifier and TypeMethodDescriptionendTime()
Returns the value of theendTime
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.result()
Returns the value of theresult
record component.String[]
Returns the value of theshardFilter
record component.Returns the value of thestartTime
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfCreateBlockIterator
public ParamsOfCreateBlockIterator(Long startTime, Long endTime, String[] shardFilter, String result) Creates an instance of aParamsOfCreateBlockIterator
record class.- Parameters:
startTime
- the value for thestartTime
record componentendTime
- the value for theendTime
record componentshardFilter
- the value for theshardFilter
record componentresult
- the value for theresult
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
startTime
Returns the value of thestartTime
record component.- Returns:
- the value of the
startTime
record component
-
endTime
Returns the value of theendTime
record component.- Returns:
- the value of the
endTime
record component
-
shardFilter
Returns the value of theshardFilter
record component.- Returns:
- the value of the
shardFilter
record component
-
result
Returns the value of theresult
record component.- Returns:
- the value of the
result
record component
-