Package com.opentext.ia.sdk.client.impl
Class DefaultQueryResult
java.lang.Object
com.opentext.ia.sdk.client.impl.DefaultQueryResult
- All Implemented Interfaces:
QueryResult
,java.io.Closeable
,java.lang.AutoCloseable
public class DefaultQueryResult extends java.lang.Object implements java.io.Closeable, QueryResult
Default implementation of QueryResult.
-
Constructor Summary
Constructors Constructor Description DefaultQueryResult(int resultSetQuota, int aiuQuota, int resultSetCount, int aipQuota, boolean cacheOutAipIgnored, java.io.InputStream resultStream, java.io.Closeable dependentResource)
-
Method Summary
Modifier and Type Method Description void
close()
int
getAipQuota()
int
getAiuQuota()
int
getResultSetCount()
int
getResultSetQuota()
java.io.InputStream
getResultStream()
boolean
isCacheOutAipIgnored()
java.lang.String
toString()
-
Constructor Details
-
DefaultQueryResult
public DefaultQueryResult(int resultSetQuota, int aiuQuota, int resultSetCount, int aipQuota, boolean cacheOutAipIgnored, java.io.InputStream resultStream, java.io.Closeable dependentResource)
-
-
Method Details
-
getResultSetQuota
public int getResultSetQuota()- Specified by:
getResultSetQuota
in interfaceQueryResult
-
getAiuQuota
public int getAiuQuota()- Specified by:
getAiuQuota
in interfaceQueryResult
-
getResultSetCount
public int getResultSetCount()- Specified by:
getResultSetCount
in interfaceQueryResult
-
getAipQuota
public int getAipQuota()- Specified by:
getAipQuota
in interfaceQueryResult
-
isCacheOutAipIgnored
public boolean isCacheOutAipIgnored()- Specified by:
isCacheOutAipIgnored
in interfaceQueryResult
-
getResultStream
public java.io.InputStream getResultStream()- Specified by:
getResultStream
in interfaceQueryResult
-
close
public void close()- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-