public class SpreadsheetConnectionImpl extends BasicConnection implements GoogleSpreadsheetConnection
| Constructor and Description |
|---|
SpreadsheetConnectionImpl(SpreadsheetManagedConnectionFactory config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes Google spreadsheet context, effectively closing the connection to Google spreadsheet.
|
RowsResult |
executeQuery(String worksheetName,
String query,
Integer offset,
Integer limit,
int batchSize) |
SpreadsheetInfo |
getSpreadsheetInfo()
Returns information about existing Spreadsheets and worksheets.
|
boolean |
isAlive()
Tests the connection to see if it is still valid.
|
cleanUp, createInteraction, getLocalTransaction, getMetaData, getResultSetInfo, getXAResourcepublic SpreadsheetConnectionImpl(SpreadsheetManagedConnectionFactory config)
public void close()
close in interface javax.resource.cci.Connectionpublic boolean isAlive()
BasicConnectionisAlive in class BasicConnectionpublic RowsResult executeQuery(String worksheetName, String query, Integer offset, Integer limit, int batchSize)
executeQuery in interface GoogleSpreadsheetConnectionpublic SpreadsheetInfo getSpreadsheetInfo()
GoogleSpreadsheetConnectiongetSpreadsheetInfo in interface GoogleSpreadsheetConnectionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.