Class JsonFetchEmitTuple
- java.lang.Object
-
- org.apache.tika.serialization.pipes.JsonFetchEmitTuple
-
public class JsonFetchEmitTuple extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
EMITKEY
static String
EMITTER
static String
FETCH_RANGE_END
static String
FETCH_RANGE_START
static String
FETCHER
static String
FETCHKEY
static String
ID
static String
METADATAKEY
static String
ON_PARSE_EXCEPTION
static String
PARSE_CONTEXT
-
Constructor Summary
Constructors Constructor Description JsonFetchEmitTuple()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FetchEmitTuple
fromJson(Reader reader)
static String
toJson(FetchEmitTuple t)
static void
toJson(FetchEmitTuple t, Writer writer)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
FETCHER
public static final String FETCHER
- See Also:
- Constant Field Values
-
FETCHKEY
public static final String FETCHKEY
- See Also:
- Constant Field Values
-
FETCH_RANGE_START
public static final String FETCH_RANGE_START
- See Also:
- Constant Field Values
-
FETCH_RANGE_END
public static final String FETCH_RANGE_END
- See Also:
- Constant Field Values
-
EMITTER
public static final String EMITTER
- See Also:
- Constant Field Values
-
EMITKEY
public static final String EMITKEY
- See Also:
- Constant Field Values
-
METADATAKEY
public static final String METADATAKEY
- See Also:
- Constant Field Values
-
ON_PARSE_EXCEPTION
public static final String ON_PARSE_EXCEPTION
- See Also:
- Constant Field Values
-
PARSE_CONTEXT
public static final String PARSE_CONTEXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
fromJson
public static FetchEmitTuple fromJson(Reader reader) throws IOException
- Throws:
IOException
-
toJson
public static String toJson(FetchEmitTuple t) throws IOException
- Throws:
IOException
-
toJson
public static void toJson(FetchEmitTuple t, Writer writer) throws IOException
- Throws:
IOException
-
-