Package org.aksw.jenax.engine.qlever
Record Class RDFDatabaseBuilderQlever.ByteSourceSpec
java.lang.Object
java.lang.Record
org.aksw.jenax.engine.qlever.RDFDatabaseBuilderQlever.ByteSourceSpec
- Enclosing class:
- RDFDatabaseBuilderQlever<X extends RDFDatabaseBuilderQlever<X>>
public static record RDFDatabaseBuilderQlever.ByteSourceSpec(CmdOp cmdOp, com.google.common.io.ByteSource byteSource, org.apache.jena.riot.Lang lang)
extends Record
Record to hold either a command for a ProcessBuilder that produces output or a ByteSource.
-
Constructor Summary
ConstructorsConstructorDescriptionByteSourceSpec(CmdOp cmdOp, com.google.common.io.ByteSource byteSource, org.apache.jena.riot.Lang lang) Creates an instance of aByteSourceSpecrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.io.ByteSourceReturns the value of thebyteSourcerecord component.cmdOp()Returns the value of thecmdOprecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.apache.jena.riot.Langlang()Returns the value of thelangrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ByteSourceSpec
public ByteSourceSpec(CmdOp cmdOp, com.google.common.io.ByteSource byteSource, org.apache.jena.riot.Lang lang) Creates an instance of aByteSourceSpecrecord class.- Parameters:
cmdOp- the value for thecmdOprecord componentbyteSource- the value for thebyteSourcerecord componentlang- the value for thelangrecord 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). -
cmdOp
Returns the value of thecmdOprecord component.- Returns:
- the value of the
cmdOprecord component
-
byteSource
public com.google.common.io.ByteSource byteSource()Returns the value of thebyteSourcerecord component.- Returns:
- the value of the
byteSourcerecord component
-
lang
public org.apache.jena.riot.Lang lang()Returns the value of thelangrecord component.- Returns:
- the value of the
langrecord component
-