Managing Tables Using the IntelliJ Plugin

Learn how to view table data in your data store from IntelliJ Schema Explorer.

Perform the following steps:

  1. Locate the Schema Explorer, and click the Refresh icon to reload the schema.

  2. Locate your table under your tenant identifier, and expand it to view its columns, primary key, and shard key details. If you created a sample application as described in the Creating applications using Oracle NoSQL Java SDK from IntelliJ topic, you will be able to see the audienceData table.

  3. Double-click the table name to view its data. Alternatively, you can right-click the table and select Browse Table.

  4. A record viewer window appears in the main editor. Click Execute to run the query and display table data.

  5. To view individual cell data separately, double-click the cell.

Perform DDL operations using IntelliJ

You can use IntelliJ to perform DDL operations.

Some of the DDL operations that can be performed from inside the IntelliJ plugin are

CREATE TABLE

DROP TABLE

CREATE INDEX

DROP INDEX

ADD COLUMN

DROP COLUMN

EXECUTE DDL

You can execute any table-specific DDL statements and table-independent operations like managing namespaces, regions, and roles using the Execute DDL option.

  1. Click on the Execute icon (a triangle) in the Schema Explorer to open the Execute DDL window. Alternatively, you can also right-click the connection name and choose Execute DDL.

  2. In the new window, enter the SQL statement which is a System Request (like creating or dropping region/role/namespace, etc). Click Execute. The result of the DDL is displayed in the lower portion of the window.

    Note: You can also perform any other DDL operation like CREATE TABLE from this window.

Operations supported using Execute DDL:

Note: Before using the IntelliJ plugin to create/expand or contract a Multi-Region table, you should complete all the tasks for configuring a Multi-Region data store. This includes deploying the data store, configuring the XRegion service, starting the XRegion agents, and running the proxy. See Configuring Multi-Region Data Stores for more details.

Perform DML operations using IntelliJ

You can add data, modify existing data and query data from tables using IntelliJ plugin.

Insert data

Modify Data - UPDATE ROW/DELETE ROW

Query tables

Note: The drop-down will only show SQL statements related to the table you are working on.

Schema Explorer