Record Class TransformedByteSource.ByteSourceSplit
java.lang.Object
java.lang.Record
org.aksw.shellgebra.exec.TransformedByteSource.ByteSourceSplit
- Enclosing class:
TransformedByteSource
public static record TransformedByteSource.ByteSourceSplit(com.google.common.io.ByteSource byteSource, org.aksw.commons.io.util.stream.OutputStreamTransformList outTransforms)
extends Record
Separate trailing output transforms from the byte source.
-
Constructor Summary
ConstructorsConstructorDescriptionByteSourceSplit(com.google.common.io.ByteSource byteSource, org.aksw.commons.io.util.stream.OutputStreamTransformList outTransforms) Creates an instance of aByteSourceSplitrecord 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.final inthashCode()Returns a hash code value for this object.org.aksw.commons.io.util.stream.OutputStreamTransformListReturns the value of theoutTransformsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ByteSourceSplit
public ByteSourceSplit(com.google.common.io.ByteSource byteSource, org.aksw.commons.io.util.stream.OutputStreamTransformList outTransforms) Creates an instance of aByteSourceSplitrecord class.- Parameters:
byteSource- the value for thebyteSourcerecord componentoutTransforms- the value for theoutTransformsrecord component
-
-
Method Details
-
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
-
outTransforms
public org.aksw.commons.io.util.stream.OutputStreamTransformList outTransforms()Returns the value of theoutTransformsrecord component.- Returns:
- the value of the
outTransformsrecord component
-