Record Class InputHolder.ByteSourceInput
java.lang.Object
java.lang.Record
org.aksw.shellgebra.exec.virtual.InputHolder.ByteSourceInput
- All Implemented Interfaces:
InputHolder
- Enclosing interface:
InputHolder
public static record InputHolder.ByteSourceInput(com.google.common.io.ByteSource byteSource)
extends Record
implements InputHolder
-
Nested Class Summary
Nested classes/interfaces inherited from interface InputHolder
InputHolder.BoundStageInput, InputHolder.ByteSourceInput, InputHolder.FileWriterTaskInput, InputHolder.Type -
Constructor Summary
ConstructorsConstructorDescriptionByteSourceInput(com.google.common.io.ByteSource byteSource) Creates an instance of aByteSourceInputrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.io.ByteSourceReturns the value of thebyteSourcerecord component.final booleanIndicates whether some other object is "equal to" this one.getType()final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ByteSourceInput
public ByteSourceInput(com.google.common.io.ByteSource byteSource) Creates an instance of aByteSourceInputrecord class.- Parameters:
byteSource- the value for thebyteSourcerecord component
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceInputHolder
-
toString
-
hashCode
-
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). -
byteSource
public com.google.common.io.ByteSource byteSource()Returns the value of thebyteSourcerecord component.- Returns:
- the value of the
byteSourcerecord component
-