Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Net.ParamsOfQueryOperation.QueryCollection
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Net.ParamsOfQueryOperation.QueryCollection
- Record Components:
collection
- Collection name (accounts, blocks, transactions, messages, block_signatures)filter
- Collection filterresult
- Projection (result) stringorder
- Sorting orderlimit
- Number of documents to return
- All Implemented Interfaces:
Net.ParamsOfQueryOperation
- Enclosing interface:
Net.ParamsOfQueryOperation
public static record Net.ParamsOfQueryOperation.QueryCollection(String collection, Map<String,Object> filter, String result, Net.OrderBy[] order, Number limit)
extends Record
implements Net.ParamsOfQueryOperation
-
Nested Class Summary
Nested classes/interfaces inherited from interface tech.deplant.java4ever.binding.Net.ParamsOfQueryOperation
Net.ParamsOfQueryOperation.AggregateCollection, Net.ParamsOfQueryOperation.QueryCollection, Net.ParamsOfQueryOperation.QueryCounterparties, Net.ParamsOfQueryOperation.WaitForCollection
-
Constructor Summary
ConstructorsConstructorDescriptionQueryCollection
(String collection, Map<String, Object> filter, String result, Net.OrderBy[] order, Number limit) Creates an instance of aQueryCollection
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecollection
record component.final boolean
Indicates whether some other object is "equal to" this one.filter()
Returns the value of thefilter
record component.final int
hashCode()
Returns a hash code value for this object.limit()
Returns the value of thelimit
record component.order()
Returns the value of theorder
record component.result()
Returns the value of theresult
record component.final String
toString()
Returns a string representation of this record class.type()
-
Constructor Details
-
QueryCollection
public QueryCollection(String collection, Map<String, Object> filter, String result, Net.OrderBy[] order, Number limit) Creates an instance of aQueryCollection
record class.- Parameters:
collection
- the value for thecollection
record componentfilter
- the value for thefilter
record componentresult
- the value for theresult
record componentorder
- the value for theorder
record componentlimit
- the value for thelimit
record component
-
-
Method Details
-
type
-
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)
. -
collection
Returns the value of thecollection
record component.- Returns:
- the value of the
collection
record component
-
filter
Returns the value of thefilter
record component.- Returns:
- the value of the
filter
record component
-
result
Returns the value of theresult
record component.- Returns:
- the value of the
result
record component
-
order
Returns the value of theorder
record component.- Returns:
- the value of the
order
record component
-
limit
Returns the value of thelimit
record component.- Returns:
- the value of the
limit
record component
-