Thank you Jeff

972.900.1561
Scott Cote

________________________________
From: Jeff Zemerick <[email protected]>
Sent: Wednesday, February 27, 2019 10:30 AM
To: [email protected]
Subject: Re: introspection of ignite data

Scott,

I have used:

CacheConfiguration config = cache.getConfiguration(CacheConfiguration.class);
Collection<QueryEntity> entities = config.getQueryEntities();
for(QueryEntity e : entities) {
  System.out.println("Table: " + e.getTableName());
}

I'm new to Ignite so there's a chance it might not be the best way. :)

Jeff



On Tue, Feb 26, 2019 at 11:06 AM Scott Cote 
<[email protected]<mailto:[email protected]>> wrote:
I am trouble shooting a sql problem where I’m issuing a “select” statement and 
the parser is not finding my table …..

IgniteSqlException: Failed to parse query.  Table “FOOBOO” not found; SQL 
statement:\nselect * from FOOBOO [42102-197]

What API can I call against either an instance of  IgniteCache or Ignite - to 
find the names of the tables that are present – if any.

Want to be able to trouble shoot from inside a java debugger where I have the 
instances present – and/or later call an api for diagnostics.

TIA.

SCott

Reply via email to