Package com.wolfram.alpha.impl
Class WAQueryResultImpl
java.lang.Object
com.wolfram.alpha.impl.WAQueryResultImpl
- All Implemented Interfaces:
Visitable
,WAQueryResult
,Serializable
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from interface com.wolfram.alpha.visitor.Visitable
EMPTY_VISITABLE_ARRAY
-
Constructor Summary
ConstructorDescriptionWAQueryResultImpl(WAQuery query, byte[] bytes, HttpProvider http, File tempDir)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
String[]
String[]
int
String[]
int
double
WAPod[]
getPods()
getQuery()
String[]
double
String[]
getTips()
getXML()
boolean
isError()
boolean
void
mergePodstateResult(WAQueryResult podstateQueryResult)
void
mergeRecalculateResult(WAQueryResult recalcQueryResult)
void
release()
void
setUserData(Object obj)
-
Constructor Details
-
WAQueryResultImpl
public WAQueryResultImpl(WAQuery query, byte[] bytes, HttpProvider http, File tempDir) throws WAException- Throws:
WAException
-
-
Method Details
-
isSuccess
public boolean isSuccess()- Specified by:
isSuccess
in interfaceWAQueryResult
-
isError
public boolean isError()- Specified by:
isError
in interfaceWAQueryResult
-
getErrorCode
public int getErrorCode()- Specified by:
getErrorCode
in interfaceWAQueryResult
-
getErrorMessage
- Specified by:
getErrorMessage
in interfaceWAQueryResult
-
getQuery
- Specified by:
getQuery
in interfaceWAQueryResult
-
getNumPods
public int getNumPods()- Specified by:
getNumPods
in interfaceWAQueryResult
-
getDataTypes
- Specified by:
getDataTypes
in interfaceWAQueryResult
-
getTimedoutScanners
- Specified by:
getTimedoutScanners
in interfaceWAQueryResult
-
getTiming
public double getTiming()- Specified by:
getTiming
in interfaceWAQueryResult
-
getParseTiming
public double getParseTiming()- Specified by:
getParseTiming
in interfaceWAQueryResult
-
getAPIVersion
- Specified by:
getAPIVersion
in interfaceWAQueryResult
-
getRecalculateURL
- Specified by:
getRecalculateURL
in interfaceWAQueryResult
-
getPods
- Specified by:
getPods
in interfaceWAQueryResult
-
getAssumptions
- Specified by:
getAssumptions
in interfaceWAQueryResult
-
getWarnings
- Specified by:
getWarnings
in interfaceWAQueryResult
-
getTips
- Specified by:
getTips
in interfaceWAQueryResult
-
getRelatedLinks
- Specified by:
getRelatedLinks
in interfaceWAQueryResult
-
getSources
- Specified by:
getSources
in interfaceWAQueryResult
-
getDidYouMeans
- Specified by:
getDidYouMeans
in interfaceWAQueryResult
-
getRelatedExamples
- Specified by:
getRelatedExamples
in interfaceWAQueryResult
-
getLanguageMessage
- Specified by:
getLanguageMessage
in interfaceWAQueryResult
-
getFutureTopic
- Specified by:
getFutureTopic
in interfaceWAQueryResult
-
getExamplePage
- Specified by:
getExamplePage
in interfaceWAQueryResult
-
acquireImages
public void acquireImages()- Specified by:
acquireImages
in interfaceWAQueryResult
-
finishAsync
public void finishAsync()- Specified by:
finishAsync
in interfaceWAQueryResult
-
mergeRecalculateResult
- Specified by:
mergeRecalculateResult
in interfaceWAQueryResult
-
mergePodstateResult
- Specified by:
mergePodstateResult
in interfaceWAQueryResult
-
getXML
- Specified by:
getXML
in interfaceWAQueryResult
-
release
public void release()- Specified by:
release
in interfaceWAQueryResult
-
setUserData
- Specified by:
setUserData
in interfaceWAQueryResult
-
getUserData
- Specified by:
getUserData
in interfaceWAQueryResult
-
accept
-