Package org.aksw.jenax.engine.qlever
Record Class RdfDatabaseBuilderQlever.InputSpec
java.lang.Object
java.lang.Record
org.aksw.jenax.engine.qlever.RdfDatabaseBuilderQlever.InputSpec
- Enclosing class:
- RdfDatabaseBuilderQlever
public static record RdfDatabaseBuilderQlever.InputSpec(RdfDatabaseBuilderQlever.FileSpec fileSpec, RdfDatabaseBuilderQlever.ByteSourceSpec byteSourceSpec, org.apache.jena.riot.Lang byteSourceSpecLang)
extends Record
Record to capture whether to pass input data as files or as an input stream.
-
Constructor Summary
ConstructorsConstructorDescriptionInputSpec(RdfDatabaseBuilderQlever.FileSpec fileSpec, RdfDatabaseBuilderQlever.ByteSourceSpec byteSourceSpec, org.apache.jena.riot.Lang byteSourceSpecLang) Creates an instance of aInputSpecrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebyteSourceSpecrecord component.org.apache.jena.riot.LangReturns the value of thebyteSourceSpecLangrecord component.final booleanIndicates whether some other object is "equal to" this one.fileSpec()Returns the value of thefileSpecrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InputSpec
public InputSpec(RdfDatabaseBuilderQlever.FileSpec fileSpec, RdfDatabaseBuilderQlever.ByteSourceSpec byteSourceSpec, org.apache.jena.riot.Lang byteSourceSpecLang) Creates an instance of aInputSpecrecord class.- Parameters:
fileSpec- the value for thefileSpecrecord componentbyteSourceSpec- the value for thebyteSourceSpecrecord componentbyteSourceSpecLang- the value for thebyteSourceSpecLangrecord 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). -
fileSpec
Returns the value of thefileSpecrecord component.- Returns:
- the value of the
fileSpecrecord component
-
byteSourceSpec
Returns the value of thebyteSourceSpecrecord component.- Returns:
- the value of the
byteSourceSpecrecord component
-
byteSourceSpecLang
public org.apache.jena.riot.Lang byteSourceSpecLang()Returns the value of thebyteSourceSpecLangrecord component.- Returns:
- the value of the
byteSourceSpecLangrecord component
-