public List < String > getTables ( String keyspace ) { ArrayList < String > result = new ArrayList < String > ( ) ; this . metadata = this . cluster . getMetadata ( ) ; if ( ( ! existsKeyspace ( keyspace , false ) ) || ( this . metadata . getKeyspace ( keyspace ) . getTables ( ) . isEmpty ( ) ) ) { return result ; } for ( TableMetadata t : this . metadata . getKeyspace ( keyspace ) . getTables ( ) ) { result . add ( t . getName ( ) ) ; } return result ; }
Get tables of a keyspace .