Package org.apache.tika.pipes
Class PipesResult
- java.lang.Object
-
- org.apache.tika.pipes.PipesResult
-
public class PipesResult extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PipesResult.STATUS
-
Field Summary
Fields Modifier and Type Field Description static PipesResult
CLIENT_UNAVAILABLE_WITHIN_MS
static PipesResult
EMIT_SUCCESS
static PipesResult
EMPTY_OUTPUT
static PipesResult
INTERRUPTED_EXCEPTION
static PipesResult
OOM
static PipesResult
TIMEOUT
static PipesResult
UNSPECIFIED_CRASH
-
Constructor Summary
Constructors Constructor Description PipesResult(EmitData emitData)
This assumes parse success with no parse exceptionPipesResult(EmitData emitData, String message)
This assumes that the message is a stack trace (container parse exception).PipesResult(PipesResult.STATUS status)
PipesResult(PipesResult.STATUS status, String message)
PipesResult(PipesResult.STATUS status, EmitData emitData, boolean intermediate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmitData
getEmitData()
String
getMessage()
PipesResult.STATUS
getStatus()
boolean
isIntermediate()
String
toString()
-
-
-
Field Detail
-
CLIENT_UNAVAILABLE_WITHIN_MS
public static final PipesResult CLIENT_UNAVAILABLE_WITHIN_MS
-
TIMEOUT
public static final PipesResult TIMEOUT
-
OOM
public static final PipesResult OOM
-
UNSPECIFIED_CRASH
public static final PipesResult UNSPECIFIED_CRASH
-
EMIT_SUCCESS
public static final PipesResult EMIT_SUCCESS
-
INTERRUPTED_EXCEPTION
public static final PipesResult INTERRUPTED_EXCEPTION
-
EMPTY_OUTPUT
public static final PipesResult EMPTY_OUTPUT
-
-
Constructor Detail
-
PipesResult
public PipesResult(PipesResult.STATUS status)
-
PipesResult
public PipesResult(PipesResult.STATUS status, String message)
-
PipesResult
public PipesResult(EmitData emitData)
This assumes parse success with no parse exception- Parameters:
emitData
-
-
PipesResult
public PipesResult(PipesResult.STATUS status, EmitData emitData, boolean intermediate)
-
-