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 <sc...@etcc.com> 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