public abstract class

JdbcProducerBackend

extends Object
implements CommandProducerBackend
java.lang.Object
   ↳ org.odata4j.producer.jdbc.JdbcProducerBackend

Summary

Public Constructors
JdbcProducerBackend()
Public Methods
<TContext extends CommandContext> Command<TContext> getCommand(Class<TContext> contextType)
abstract CommandExecution getCommandExecution()
abstract Jdbc getJdbc()
JdbcMetadataMapping getMetadataMapping()
CallFunctionCommandContext newCallFunctionCommandContext(EdmFunctionImport name, Map<String, OFunctionParameter> params, QueryInfo queryInfo)
CloseCommandContext newCloseCommandContext()
CreateEntityAtPropertyCommandContext newCreateEntityAtPropertyCommandContext(String entitySetName, OEntityKey entityKey, String navProp, OEntity entity)
CreateEntityCommandContext newCreateEntityCommandContext(String entitySetName, OEntity entity)
CreateLinkCommandContext newCreateLinkCommandContext(OEntityId sourceEntity, String targetNavProp, OEntityId targetEntity)
DeleteEntityCommandContext newDeleteEntityCommandContext(String entitySetName, OEntityKey entityKey)
DeleteLinkCommandContext newDeleteLinkCommandContext(OEntityId sourceEntity, String targetNavProp, OEntityKey targetEntityKey)
GetEntitiesCommandContext newGetEntitiesCommandContext(String entitySetName, QueryInfo queryInfo)
GetEntitiesCountCommandContext newGetEntitiesCountCommandContext(String entitySetName, QueryInfo queryInfo)
GetEntityCommandContext newGetEntityCommandContext(String entitySetName, OEntityKey entityKey, EntityQueryInfo queryInfo)
GetLinksCommandContext newGetLinksCommandContext(OEntityId sourceEntity, String targetNavProp)
GetMetadataCommandContext newGetMetadataCommandContext()
GetMetadataProducerCommandContext newGetMetadataProducerCommandContext()
GetNavPropertyCommandContext newGetNavPropertyCommandContext(String entitySetName, OEntityKey entityKey, String navProp, QueryInfo queryInfo)
GetNavPropertyCountCommandContext newGetNavPropertyCountCommandContext(String entitySetName, OEntityKey entityKey, String navProp, QueryInfo queryInfo)
JdbcProducerCommandContext newJdbcCommandContext()
MergeEntityCommandContext newMergeEntityCommandContext(String entitySetName, OEntity entity)
UpdateEntityCommandContext newUpdateEntityCommandContext(String entitySetName, OEntity entity)
UpdateLinkCommandContext newUpdateLinkCommandContext(OEntityId sourceEntity, String targetNavProp, OEntityKey oldTargetEntityKey, OEntityId newTargetEntity)
Protected Methods
abstract <T> T get(Class<T> instanceType)
abstract <TContext extends CommandContext> List<Command<?>> getPostCommands(Class<TContext> contextType)
abstract <TContext extends CommandContext> List<Command<?>> getPreCommands(Class<TContext> contextType)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.odata4j.producer.command.CommandProducerBackend

Public Constructors

public JdbcProducerBackend ()

Public Methods

public Command<TContext> getCommand (Class<TContext> contextType)

Parameters
contextType

public abstract CommandExecution getCommandExecution ()

public abstract Jdbc getJdbc ()

public JdbcMetadataMapping getMetadataMapping ()

public CallFunctionCommandContext newCallFunctionCommandContext (EdmFunctionImport name, Map<String, OFunctionParameter> params, QueryInfo queryInfo)

Parameters
name
params
queryInfo

public CloseCommandContext newCloseCommandContext ()

public CreateEntityAtPropertyCommandContext newCreateEntityAtPropertyCommandContext (String entitySetName, OEntityKey entityKey, String navProp, OEntity entity)

Parameters
entitySetName
entityKey
navProp
entity

public CreateEntityCommandContext newCreateEntityCommandContext (String entitySetName, OEntity entity)

Parameters
entitySetName
entity

public CreateLinkCommandContext newCreateLinkCommandContext (OEntityId sourceEntity, String targetNavProp, OEntityId targetEntity)

Parameters
sourceEntity
targetNavProp
targetEntity

public DeleteEntityCommandContext newDeleteEntityCommandContext (String entitySetName, OEntityKey entityKey)

Parameters
entitySetName
entityKey

public DeleteLinkCommandContext newDeleteLinkCommandContext (OEntityId sourceEntity, String targetNavProp, OEntityKey targetEntityKey)

Parameters
sourceEntity
targetNavProp
targetEntityKey

public GetEntitiesCommandContext newGetEntitiesCommandContext (String entitySetName, QueryInfo queryInfo)

Parameters
entitySetName
queryInfo

public GetEntitiesCountCommandContext newGetEntitiesCountCommandContext (String entitySetName, QueryInfo queryInfo)

Parameters
entitySetName
queryInfo

public GetEntityCommandContext newGetEntityCommandContext (String entitySetName, OEntityKey entityKey, EntityQueryInfo queryInfo)

Parameters
entitySetName
entityKey
queryInfo

public GetLinksCommandContext newGetLinksCommandContext (OEntityId sourceEntity, String targetNavProp)

Parameters
sourceEntity
targetNavProp

public GetMetadataCommandContext newGetMetadataCommandContext ()

public GetMetadataProducerCommandContext newGetMetadataProducerCommandContext ()

public GetNavPropertyCommandContext newGetNavPropertyCommandContext (String entitySetName, OEntityKey entityKey, String navProp, QueryInfo queryInfo)

Parameters
entitySetName
entityKey
navProp
queryInfo

public GetNavPropertyCountCommandContext newGetNavPropertyCountCommandContext (String entitySetName, OEntityKey entityKey, String navProp, QueryInfo queryInfo)

Parameters
entitySetName
entityKey
navProp
queryInfo

public JdbcProducerCommandContext newJdbcCommandContext ()

public MergeEntityCommandContext newMergeEntityCommandContext (String entitySetName, OEntity entity)

Parameters
entitySetName
entity

public UpdateEntityCommandContext newUpdateEntityCommandContext (String entitySetName, OEntity entity)

Parameters
entitySetName
entity

public UpdateLinkCommandContext newUpdateLinkCommandContext (OEntityId sourceEntity, String targetNavProp, OEntityKey oldTargetEntityKey, OEntityId newTargetEntity)

Parameters
sourceEntity
targetNavProp
oldTargetEntityKey
newTargetEntity

Protected Methods

protected abstract T get (Class<T> instanceType)

Parameters
instanceType

protected abstract List<Command<?>> getPostCommands (Class<TContext> contextType)

Parameters
contextType

protected abstract List<Command<?>> getPreCommands (Class<TContext> contextType)

Parameters
contextType