@ Override public void find ( byte [ ] tableKey , Object arg , Result < byte [ ] > result ) { TableKraken table = _tableManager . getTable ( tableKey ) ; if ( table == null ) { throw new QueryException ( L . l ( "'{0}' is an unknown table." , Hex . toShortHex ( tableKey ) ) ) ; } String sql = "select_local table_key from kraken_meta_table where table_name=?" ; QueryBuilderKraken builder = QueryParserKraken . parse ( _tableManager , sql ) ; QueryKraken query = builder . build ( ) ; query . findOne ( result . then ( cursor -> findKeyResult ( cursor ) ) , arg ) ; }
Find a table by its name .