Package app.ductape.sdk.warehouse.types
Record Class WarehouseQueryTypes.QueryDataSource
java.lang.Object
java.lang.Record
app.ductape.sdk.warehouse.types.WarehouseQueryTypes.QueryDataSource
- Enclosing class:
- WarehouseQueryTypes
public static record WarehouseQueryTypes.QueryDataSource(WarehouseTypes.DataSourceType type, String tag, String entity, String alias)
extends Record
TS
IDataSource-
Constructor Summary
ConstructorsConstructorDescriptionQueryDataSource(WarehouseTypes.DataSourceType type, String tag, String entity, String alias) Creates an instance of aQueryDataSourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptionalias()Returns the value of thealiasrecord component.entity()Returns the value of theentityrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.tag()Returns the value of thetagrecord component.final StringtoString()Returns a string representation of this record class.toWire()type()Returns the value of thetyperecord component.
-
Constructor Details
-
QueryDataSource
Creates an instance of aQueryDataSourcerecord class.- Parameters:
type- the value for thetyperecord componenttag- the value for thetagrecord componententity- the value for theentityrecord componentalias- the value for thealiasrecord component
-
-
Method Details
-
fromWire
-
toWire
-
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). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
tag
Returns the value of thetagrecord component.- Returns:
- the value of the
tagrecord component
-
entity
Returns the value of theentityrecord component.- Returns:
- the value of the
entityrecord component
-
alias
Returns the value of thealiasrecord component.- Returns:
- the value of the
aliasrecord component
-