Package org.apache.graphar.util
Interface Status
-
- All Superinterfaces:
com.alibaba.fastffi.CXXPointer
,com.alibaba.fastffi.FFIPointer
,com.alibaba.fastffi.FFIType
public interface Status extends com.alibaba.fastffi.CXXPointer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatusCode
code()
Return the StatusCode value attached to this status.@com.alibaba.fastffi.FFINameAlias("IsArrowError") boolean
isArrowError()
Return true if the status indicates an arrow-related failure.@com.alibaba.fastffi.FFINameAlias("IsIndexError") boolean
isIndexError()
Return true if the status indicates an index out of bounds.@com.alibaba.fastffi.FFINameAlias("IsInvalid") boolean
isInvalid()
Return true if the status indicates invalid data.@com.alibaba.fastffi.FFINameAlias("IsKeyError") boolean
isKeyError()
Return true if the status indicates a key lookup error.@com.alibaba.fastffi.FFINameAlias("IsTypeError") boolean
isTypeError()
Return true if the status indicates a type match error.@com.alibaba.fastffi.FFINameAlias("IsYamlError") boolean
isYamlError()
Return true if the status indicates a yaml parse related failure.StdString
message()
Return the specific error message attached to this status.boolean
ok()
Return true if the status indicates success.
-
-
-
Method Detail
-
ok
boolean ok()
Return true if the status indicates success.
-
isKeyError
@com.alibaba.fastffi.FFINameAlias("IsKeyError") boolean isKeyError()
Return true if the status indicates a key lookup error.
-
isTypeError
@com.alibaba.fastffi.FFINameAlias("IsTypeError") boolean isTypeError()
Return true if the status indicates a type match error.
-
isInvalid
@com.alibaba.fastffi.FFINameAlias("IsInvalid") boolean isInvalid()
Return true if the status indicates invalid data.
-
isIndexError
@com.alibaba.fastffi.FFINameAlias("IsIndexError") boolean isIndexError()
Return true if the status indicates an index out of bounds.
-
isYamlError
@com.alibaba.fastffi.FFINameAlias("IsYamlError") boolean isYamlError()
Return true if the status indicates a yaml parse related failure.
-
isArrowError
@com.alibaba.fastffi.FFINameAlias("IsArrowError") boolean isArrowError()
Return true if the status indicates an arrow-related failure.
-
code
StatusCode code()
Return the StatusCode value attached to this status.
-
message
StdString message()
Return the specific error message attached to this status.
-
-