Class MySqlJDBCAdapter
- java.lang.Object
-
- org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter
-
- org.apache.activemq.store.jdbc.adapter.MySqlJDBCAdapter
-
- All Implemented Interfaces:
JDBCAdapter
public class MySqlJDBCAdapter extends DefaultJDBCAdapter
-
-
Field Summary
Fields Modifier and Type Field Description static String
BDB
static String
HEAP
static String
INNODB
static String
ISAM
static String
MERGE
static String
MYISAM
static String
NDBCLUSTER
-
Fields inherited from class org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter
batchStatments, MAX_ROWS, maxRows, prioritizedMessages, statements
-
-
Constructor Summary
Constructors Constructor Description MySqlJDBCAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEngineType()
String
getTypeStatement()
String
limitQuery(String query)
void
setEngineType(String engineType)
void
setStatements(Statements statements)
void
setTypeStatement(String typeStatement)
-
Methods inherited from class org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter
close, close, doAddMessage, doAddMessageReference, doClearLastAck, doCommitAddOp, doCreateTables, doDeleteOldMessages, doDeleteSubscription, doDropTables, doGetAllSubscriptions, doGetDestinations, doGetDurableSubscriberMessageCount, doGetLastAckedDurableSubscriberMessageId, doGetLastMessageStoreSequenceId, doGetLastProducerSequenceId, doGetMessage, doGetMessageById, doGetMessageCount, doGetMessageReference, doGetSubscriberEntry, doMessageIdScan, doRecordDestination, doRecover, doRecoverNextMessages, doRecoverNextMessages, doRecoverNextMessagesWithPriority, doRecoverPreparedOps, doRecoverSubscription, doRemoveAllMessages, doRemoveMessage, doSetLastAck, doSetLastAckWithPriority, doSetSubscriberEntry, doUpdateMessage, dumpTables, dumpTables, getBinaryData, getMaxRows, getStatements, getStoreSequenceId, isBatchStatements, isBatchStatments, printQuery, printQuery, setBatchStatements, setBatchStatments, setBinaryData, setMaxRows, setUseExternalMessageReferences
-
-
-
-
Field Detail
-
INNODB
public static final String INNODB
- See Also:
- Constant Field Values
-
NDBCLUSTER
public static final String NDBCLUSTER
- See Also:
- Constant Field Values
-
BDB
public static final String BDB
- See Also:
- Constant Field Values
-
MYISAM
public static final String MYISAM
- See Also:
- Constant Field Values
-
ISAM
public static final String ISAM
- See Also:
- Constant Field Values
-
MERGE
public static final String MERGE
- See Also:
- Constant Field Values
-
HEAP
public static final String HEAP
- See Also:
- Constant Field Values
-
-
Method Detail
-
setStatements
public void setStatements(Statements statements)
- Specified by:
setStatements
in interfaceJDBCAdapter
- Overrides:
setStatements
in classDefaultJDBCAdapter
-
getEngineType
public String getEngineType()
-
setEngineType
public void setEngineType(String engineType)
-
getTypeStatement
public String getTypeStatement()
-
setTypeStatement
public void setTypeStatement(String typeStatement)
-
limitQuery
public String limitQuery(String query)
- Specified by:
limitQuery
in interfaceJDBCAdapter
- Overrides:
limitQuery
in classDefaultJDBCAdapter
-
-