Class RdfThriftParser
- All Implemented Interfaces:
RdfMetaProvider,XmlMetaProvider
Parses compact binary RDF (Apache Thrift encoding) into POJOs. Accepts byte arrays and input streams. Semantically equivalent to RDF/XML parsing—produces the same Java objects.
Examples:
Input is binary (InputStream). Complex structures (nested objects, arrays) are supported—they are encoded as equivalent RDF triples in Apache Thrift format.
Notes:
- This class is thread safe and reusable.
See Also:
- {doc jmr.RdfDetails}
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.juneau.marshall.jena.RdfStreamParser
RdfStreamParser.Builder<SELF extends RdfStreamParser.Builder<SELF>>, RdfStreamParser.DefaultBuilderNested classes/interfaces inherited from class org.apache.juneau.marshall.parser.Parser
Parser.Null -
Field Summary
FieldsFields inherited from class org.apache.juneau.marshall.parser.Parser
autoCloseStreams, consumes, debugOutputLines, listener, nulls, trimStrings, unbufferedFields inherited from class org.apache.juneau.marshall.MarshallingContextable
marshallingContextFields inherited from class org.apache.juneau.marshall.Context
CONTEXT_APPLY_FILTER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RdfStreamParser.Builder<?>create()Creates a new builder.Methods inherited from class org.apache.juneau.marshall.jena.RdfStreamParser
copy, createSession, getCollectionFormat, getJuneauBpNs, getJuneauNs, getLanguage, getRdfBeanMeta, getRdfBeanPropertyMeta, getRdfClassMeta, getRdfParser, getXmlBeanMeta, getXmlBeanPropertyMeta, getXmlClassMeta, isLooseCollections, isTrimWhitespaceMethods inherited from class org.apache.juneau.marshall.parser.InputStreamParser
getBinaryFormat, getSession, isReaderParserMethods inherited from class org.apache.juneau.marshall.parser.Parser
canHandle, createParserBuilder, doRead, getDebugOutputLines, getListener, getMediaTypes, getNulls, getPrimaryMediaType, isAutoCloseStreams, isTrimStrings, isUnbuffered, properties, read, read, read, read, read, read, readArgs, readIntoCollection, readIntoMap, readWithOuterMethods inherited from class org.apache.juneau.marshall.MarshallingContextable
getDurationFormat, getMarshallingContext, getPeriodFormatMethods inherited from class org.apache.juneau.marshall.Context
createBuilder, getAnnotationProvider, init, isDebug, toString
-
Field Details
-
DEFAULT
Default RDF/THRIFT parser.
-
-
Constructor Details
-
RdfThriftParser
Constructor.- Parameters:
builder- The builder.
Cannot benull .
-
-
Method Details
-
create
Creates a new builder.- Returns:
- A new builder.
-