Class Results<T>
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.browsing.Results<T>
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class Results<T> extends java.lang.Object implements java.io.SerializableThe results of a browse operation. May only represent a partial result set, which can be determined by comparing the Total Available Size to the Returned Size. If there is a mismatch, the continuation point should be non-null and can be used in constructing the subsequent BrowseFilter to continue the browse.- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classResults.PyWrapper<T extends org.python.core.PyObject>
 - 
Constructor SummaryConstructors Constructor Description Results()Results(QualityCode failureQuality)Results(java.util.Collection<T> results)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T extends org.python.core.PyObject>
 Results.PyWrapper<T>createWrapper(Results<T> results)static <T> Results<T>error(QualityCode result)java.lang.StringgetContinuationPoint()A system specific object that can be used to continue the browse.QualityCodegetResultQuality()java.util.Collection<T>getResults()The results of the browse operation.intgetReturnedSize()The number of results contained in this object.intgetTotalAvailableSize()An estimation of the total number of results that would match this browse.static <T> Results<T>of(java.util.Collection<T> results)voidsetContinuationPoint(java.lang.String continuationPoint)voidsetResultQuality(QualityCode value)voidsetResults(java.util.Collection<T> results)voidsetTotalAvailableResults(int totalAvailableResults)java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
Resultspublic Results() 
 - 
Resultspublic Results(java.util.Collection<T> results) 
 - 
Resultspublic Results(QualityCode failureQuality) 
 
- 
 - 
Method Detail- 
errorpublic static <T> Results<T> error(QualityCode result) 
 - 
ofpublic static <T> Results<T> of(java.util.Collection<T> results) 
 - 
getResultspublic java.util.Collection<T> getResults() The results of the browse operation.
 - 
getTotalAvailableSizepublic int getTotalAvailableSize() An estimation of the total number of results that would match this browse.
 - 
getReturnedSizepublic int getReturnedSize() The number of results contained in this object. If different than getTotalAvailableSize(), only a partial browse was performed, and the continuation point should be non-null.
 - 
getContinuationPoint@Nullable public java.lang.String getContinuationPoint() A system specific object that can be used to continue the browse. Null if the browse is complete, or the system does not support browse continuation.
 - 
setResultspublic void setResults(java.util.Collection<T> results) 
 - 
setTotalAvailableResultspublic void setTotalAvailableResults(int totalAvailableResults) 
 - 
setContinuationPointpublic void setContinuationPoint(@Nullable java.lang.String continuationPoint)
 - 
getResultQualitypublic QualityCode getResultQuality() 
 - 
setResultQualitypublic void setResultQuality(QualityCode value) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
createWrapperpublic static <T extends org.python.core.PyObject> Results.PyWrapper<T> createWrapper(Results<T> results) 
 
- 
 
-