public class TeiidProducer extends Object implements org.odata4j.producer.ODataProducer
| Constructor and Description |
|---|
TeiidProducer(Client client) |
| Modifier and Type | Method and Description |
|---|---|
org.odata4j.producer.BaseResponse |
callFunction(org.odata4j.producer.ODataContext context,
org.odata4j.edm.EdmFunctionImport function,
Map<String,org.odata4j.core.OFunctionParameter> params,
org.odata4j.producer.QueryInfo queryInfo) |
void |
close() |
org.odata4j.producer.EntityResponse |
createEntity(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntity entity) |
org.odata4j.producer.EntityResponse |
createEntity(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntityKey entityKey,
String navProp,
org.odata4j.core.OEntity entity) |
void |
createLink(org.odata4j.producer.ODataContext context,
org.odata4j.core.OEntityId sourceEntity,
String targetNavProp,
org.odata4j.core.OEntityId targetEntity) |
void |
deleteEntity(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntityKey entityKey) |
void |
deleteLink(org.odata4j.producer.ODataContext context,
org.odata4j.core.OEntityId sourceEntity,
String targetNavProp,
org.odata4j.core.OEntityKey targetEntityKey) |
<TExtension extends org.odata4j.core.OExtension<org.odata4j.producer.ODataProducer>> |
findExtension(Class<TExtension> clazz) |
org.odata4j.producer.EntitiesResponse |
getEntities(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.producer.QueryInfo queryInfo) |
org.odata4j.producer.CountResponse |
getEntitiesCount(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.producer.QueryInfo queryInfo) |
org.odata4j.producer.EntityResponse |
getEntity(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntityKey entityKey,
org.odata4j.producer.EntityQueryInfo queryInfo) |
org.odata4j.producer.EntityIdResponse |
getLinks(org.odata4j.producer.ODataContext context,
org.odata4j.core.OEntityId sourceEntity,
String targetNavProp) |
org.odata4j.edm.EdmDataServices |
getMetadata() |
org.odata4j.producer.edm.MetadataProducer |
getMetadataProducer() |
org.odata4j.producer.EntitiesResponse |
getNavProperty(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntityKey entityKey,
String navProp,
org.odata4j.producer.QueryInfo queryInfo) |
org.odata4j.producer.CountResponse |
getNavPropertyCount(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntityKey entityKey,
String navProp,
org.odata4j.producer.QueryInfo queryInfo) |
void |
mergeEntity(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntity entity) |
void |
updateEntity(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntity entity) |
void |
updateLink(org.odata4j.producer.ODataContext context,
org.odata4j.core.OEntityId sourceEntity,
String targetNavProp,
org.odata4j.core.OEntityKey oldTargetEntityKey,
org.odata4j.core.OEntityId newTargetEntity) |
public TeiidProducer(Client client)
public <TExtension extends org.odata4j.core.OExtension<org.odata4j.producer.ODataProducer>> TExtension findExtension(Class<TExtension> clazz)
findExtension in interface org.odata4j.core.OExtensible<org.odata4j.producer.ODataProducer>public org.odata4j.edm.EdmDataServices getMetadata()
getMetadata in interface org.odata4j.producer.ODataProducerpublic org.odata4j.producer.edm.MetadataProducer getMetadataProducer()
getMetadataProducer in interface org.odata4j.producer.ODataProducerpublic org.odata4j.producer.EntitiesResponse getEntities(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.producer.QueryInfo queryInfo)
getEntities in interface org.odata4j.producer.ODataProducerpublic org.odata4j.producer.EntitiesResponse getNavProperty(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntityKey entityKey,
String navProp,
org.odata4j.producer.QueryInfo queryInfo)
getNavProperty in interface org.odata4j.producer.ODataProducerpublic org.odata4j.producer.CountResponse getEntitiesCount(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.producer.QueryInfo queryInfo)
getEntitiesCount in interface org.odata4j.producer.ODataProducerpublic org.odata4j.producer.EntityResponse getEntity(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntityKey entityKey,
org.odata4j.producer.EntityQueryInfo queryInfo)
getEntity in interface org.odata4j.producer.ODataProducerpublic org.odata4j.producer.CountResponse getNavPropertyCount(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntityKey entityKey,
String navProp,
org.odata4j.producer.QueryInfo queryInfo)
getNavPropertyCount in interface org.odata4j.producer.ODataProducerpublic void close()
close in interface org.odata4j.producer.ODataProducerpublic org.odata4j.producer.EntityResponse createEntity(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntity entity)
createEntity in interface org.odata4j.producer.ODataProducerpublic org.odata4j.producer.EntityResponse createEntity(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntityKey entityKey,
String navProp,
org.odata4j.core.OEntity entity)
createEntity in interface org.odata4j.producer.ODataProducerpublic void deleteEntity(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntityKey entityKey)
deleteEntity in interface org.odata4j.producer.ODataProducerpublic void mergeEntity(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntity entity)
mergeEntity in interface org.odata4j.producer.ODataProducerpublic void updateEntity(org.odata4j.producer.ODataContext context,
String entitySetName,
org.odata4j.core.OEntity entity)
updateEntity in interface org.odata4j.producer.ODataProducerpublic org.odata4j.producer.EntityIdResponse getLinks(org.odata4j.producer.ODataContext context,
org.odata4j.core.OEntityId sourceEntity,
String targetNavProp)
getLinks in interface org.odata4j.producer.ODataProducerpublic void createLink(org.odata4j.producer.ODataContext context,
org.odata4j.core.OEntityId sourceEntity,
String targetNavProp,
org.odata4j.core.OEntityId targetEntity)
createLink in interface org.odata4j.producer.ODataProducerpublic void updateLink(org.odata4j.producer.ODataContext context,
org.odata4j.core.OEntityId sourceEntity,
String targetNavProp,
org.odata4j.core.OEntityKey oldTargetEntityKey,
org.odata4j.core.OEntityId newTargetEntity)
updateLink in interface org.odata4j.producer.ODataProducerpublic void deleteLink(org.odata4j.producer.ODataContext context,
org.odata4j.core.OEntityId sourceEntity,
String targetNavProp,
org.odata4j.core.OEntityKey targetEntityKey)
deleteLink in interface org.odata4j.producer.ODataProducerpublic org.odata4j.producer.BaseResponse callFunction(org.odata4j.producer.ODataContext context,
org.odata4j.edm.EdmFunctionImport function,
Map<String,org.odata4j.core.OFunctionParameter> params,
org.odata4j.producer.QueryInfo queryInfo)
callFunction in interface org.odata4j.producer.ODataProducerCopyright © 2013 JBoss by Red Hat. All Rights Reserved.