|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.safehaus.penrose.connector.Connector
| Field Summary | |
static java.lang.String |
DEFAULT_CACHE_CLASS
|
| Constructor Summary | |
Connector()
|
|
| Method Summary | |
int |
add(Partition partition,
SourceConfig sourceConfig,
AttributeValues sourceValues)
|
void |
addPartition(Partition partition)
|
int |
bind(Partition partition,
SourceConfig sourceConfig,
EntryMapping entry,
Row pk,
java.lang.String password)
|
java.util.Collection |
createModifications(AttributeValues oldValues,
AttributeValues newValues)
|
int |
delete(Partition partition,
SourceConfig sourceConfig,
AttributeValues sourceValues)
|
void |
fullLoad(Partition partition,
SourceConfig sourceConfig,
Filter filter,
PenroseSearchResults results)
Load then store in data cache. |
Connection |
getConnection(Partition partition,
java.lang.String name)
|
ConnectionManager |
getConnectionManager()
|
ConnectorConfig |
getConnectorConfig()
|
MRSWLock |
getLock(SourceConfig sourceConfig)
|
PartitionManager |
getPartitionManager()
|
PenroseConfig |
getServerConfig()
|
SourceCache |
getSourceCache()
|
ThreadManager |
getThreadManager()
|
void |
init()
|
boolean |
isStopping()
|
void |
load(Partition partition,
SourceConfig sourceConfig,
java.util.Collection pks,
PenroseSearchResults results)
Check data cache then load. |
int |
modify(Partition partition,
SourceConfig sourceConfig,
AttributeValues oldSourceValues,
AttributeValues newSourceValues)
|
Row |
normalize(Row row)
|
void |
performLoad(Partition partition,
SourceConfig sourceConfig,
Filter filter,
PenroseSearchResults results)
Perform the load operation. |
void |
performSearch(Partition partition,
SourceConfig sourceConfig,
Filter filter,
PenroseSearchResults results)
Perform the search operation. |
void |
retrieve(Partition partition,
SourceConfig sourceConfig,
java.util.Collection keys,
PenroseSearchResults sr)
Load then store in data cache. |
void |
search(Partition partition,
SourceConfig sourceConfig,
Filter filter,
PenroseSearchResults results)
Search the data sources. |
void |
searchAndLoad(Partition partition,
SourceConfig sourceConfig,
Filter filter,
PenroseSearchResults results)
Check query cache, peroform search, store results in query cache. |
void |
setConnectionManager(ConnectionManager connectionManager)
|
void |
setConnectorConfig(ConnectorConfig connectorConfig)
|
void |
setPartitionManager(PartitionManager partitionManager)
|
void |
setPenroseConfig(PenroseConfig penroseConfig)
|
void |
setSourceCache(SourceCache sourceCache)
|
void |
setThreadManager(ThreadManager threadManager)
|
void |
start()
|
void |
stop()
|
Row |
store(SourceConfig sourceConfig,
AttributeValues sourceValues)
|
void |
store(SourceConfig sourceConfig,
java.util.Collection values)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String DEFAULT_CACHE_CLASS
| Constructor Detail |
public Connector()
| Method Detail |
public void init()
throws java.lang.Exception
java.lang.Exception
public void start()
throws java.lang.Exception
java.lang.Exceptionpublic boolean isStopping()
public void stop()
throws java.lang.Exception
java.lang.Exceptionpublic PartitionManager getPartitionManager()
public void setPartitionManager(PartitionManager partitionManager)
throws java.lang.Exception
java.lang.Exception
public void addPartition(Partition partition)
throws java.lang.Exception
java.lang.Exception
public Connection getConnection(Partition partition,
java.lang.String name)
throws java.lang.Exception
java.lang.Exception
public Row normalize(Row row)
throws java.lang.Exception
java.lang.Exceptionpublic MRSWLock getLock(SourceConfig sourceConfig)
public int bind(Partition partition,
SourceConfig sourceConfig,
EntryMapping entry,
Row pk,
java.lang.String password)
throws java.lang.Exception
java.lang.Exception
public int add(Partition partition,
SourceConfig sourceConfig,
AttributeValues sourceValues)
throws java.lang.Exception
java.lang.Exception
public int delete(Partition partition,
SourceConfig sourceConfig,
AttributeValues sourceValues)
throws java.lang.Exception
java.lang.Exception
public int modify(Partition partition,
SourceConfig sourceConfig,
AttributeValues oldSourceValues,
AttributeValues newSourceValues)
throws java.lang.Exception
java.lang.Exception
public java.util.Collection createModifications(AttributeValues oldValues,
AttributeValues newValues)
throws java.lang.Exception
java.lang.Exception
public void search(Partition partition,
SourceConfig sourceConfig,
Filter filter,
PenroseSearchResults results)
throws java.lang.Exception
java.lang.Exception
public void searchAndLoad(Partition partition,
SourceConfig sourceConfig,
Filter filter,
PenroseSearchResults results)
throws java.lang.Exception
java.lang.Exception
public void fullLoad(Partition partition,
SourceConfig sourceConfig,
Filter filter,
PenroseSearchResults results)
throws java.lang.Exception
java.lang.Exception
public void load(Partition partition,
SourceConfig sourceConfig,
java.util.Collection pks,
PenroseSearchResults results)
throws java.lang.Exception
java.lang.Exception
public void retrieve(Partition partition,
SourceConfig sourceConfig,
java.util.Collection keys,
PenroseSearchResults sr)
throws java.lang.Exception
java.lang.Exception
public Row store(SourceConfig sourceConfig,
AttributeValues sourceValues)
throws java.lang.Exception
java.lang.Exception
public void store(SourceConfig sourceConfig,
java.util.Collection values)
throws java.lang.Exception
java.lang.Exception
public void performSearch(Partition partition,
SourceConfig sourceConfig,
Filter filter,
PenroseSearchResults results)
throws java.lang.Exception
java.lang.Exception
public void performLoad(Partition partition,
SourceConfig sourceConfig,
Filter filter,
PenroseSearchResults results)
throws java.lang.Exception
java.lang.Exceptionpublic ConnectorConfig getConnectorConfig()
public void setConnectorConfig(ConnectorConfig connectorConfig)
public ConnectionManager getConnectionManager()
public void setConnectionManager(ConnectionManager connectionManager)
public PenroseConfig getServerConfig()
public void setPenroseConfig(PenroseConfig penroseConfig)
public SourceCache getSourceCache()
public void setSourceCache(SourceCache sourceCache)
public ThreadManager getThreadManager()
public void setThreadManager(ThreadManager threadManager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||