Package org.teiid.olingo.service
Class EntityCollectionResponse
- java.lang.Object
-
- org.apache.olingo.commons.api.data.Annotatable
-
- org.apache.olingo.commons.api.data.AbstractODataObject
-
- org.apache.olingo.commons.api.data.AbstractEntityCollection
-
- org.apache.olingo.commons.api.data.EntityCollection
-
- org.teiid.olingo.service.EntityCollectionResponse
-
- All Implemented Interfaces:
Iterable<org.apache.olingo.commons.api.data.Entity>,BaseResponse,QueryResponse
public class EntityCollectionResponse extends org.apache.olingo.commons.api.data.EntityCollection implements QueryResponse
-
-
Constructor Summary
Constructors Constructor Description EntityCollectionResponse(String baseURL, DocumentNode resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRow(ResultSet rs)IntegergetCount()StringgetNextToken()ObjectgetStream(String propertyName)voidsetCount(long count)voidsetNextToken(String token)longsize()-
Methods inherited from class org.apache.olingo.commons.api.data.EntityCollection
equals, getDeltaLink, getEntities, getNext, getOperations, hashCode, iterator, setCount, setDeltaLink, setNext, toString
-
Methods inherited from class org.apache.olingo.commons.api.data.AbstractODataObject
getBaseURI, getId, getTitle, setBaseURI, setCommonProperty, setId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
EntityCollectionResponse
public EntityCollectionResponse(String baseURL, DocumentNode resource)
-
-
Method Detail
-
addRow
public void addRow(ResultSet rs) throws SQLException
- Specified by:
addRowin interfaceQueryResponse- Throws:
SQLException
-
size
public long size()
- Specified by:
sizein interfaceQueryResponse
-
setCount
public void setCount(long count)
- Specified by:
setCountin interfaceQueryResponse
-
setNextToken
public void setNextToken(String token)
- Specified by:
setNextTokenin interfaceQueryResponse
-
getNextToken
public String getNextToken()
- Specified by:
getNextTokenin interfaceQueryResponse
-
getCount
public Integer getCount()
- Overrides:
getCountin classorg.apache.olingo.commons.api.data.EntityCollection
-
-