!doctype html>
View on GitHub
Either drag & drop the Eclipse marketplace link above to your running Eclipse instance.
Choose Window -> Preferences -> Fusion Tables Console, enter client id and client secret , then press Authenticate. The authentication workflow will try to open your default browser and take you through further steps. If it doesen't show up, you can find the required URL in the log pane, proceed manually in this case.
If anything goes wrong with the authentication, the client waits for the defined timeout period and then cancels.
In case of success the client stores the credentials and authenticates automatically in future sessions.
Please note a known issue described below where multiple GTK versions used by Eclipse may cause a problem.
Once authenticated create a new .sql or .fts file and open it with the Fusion Tables editor. Press ctrl+space in the empty editor window for a list of top level Sql statements.
It is somewhat tested on Ubuntu 15, Oracle Java(TM) SE Runtime Environment (build 1.8.0_60-b27), Eclipse Luna and Mars 1+2. Requires Java 7.
| Command | Syntax | Comment |
| Rename table | ALTER TABLE [table name or ID] RENAME TO [new name] | Atomic |
| Delete table | DROP TABLE [table name or ID] | Atomic |
| Copy table | CREATE TABLE [table name] AS SELECT * FROM [source table name or ID] | Composite: copy, rename. If rename fails, the name of the new table defaults to "Copy of [original name]" |
| UPDATE | UPDATE TABLE [table name or ID] <filter_condition> | Composite: select ROWIDs for <filter_condition>, 1 update per ROWID. |
| DELETE | DELETE FROM [table name or ID] { <filter_condition> } | Composite: select ROWIDs for <filter_condition>, 1 delete per ROWID. |
| Ctrl+Alt+R | Execute query under cursor |
| Ctrl+Alt+A | Execute all queries sequentially |
| Ctrl+Alt+C | Cancel query execution |
| Ctrl+Alt+V | View preprocessed query |
| Ctrl+T | Show tables |