/** {@inheritDoc} */ @Override public synchronized boolean tableExists(String tableName) throws IOException { final State state = mState.get(); Preconditions.checkState( state == State.OPEN, "Cannot check if table exists in MetaTable instance in state %s.", state); return mTableLayoutDatabase.tableExists(tableName); }
/** {@inheritDoc} */ @Override public synchronized boolean tableExists(String tableName) throws IOException { final State state = mState.get(); Preconditions.checkState(state == State.OPEN, "Cannot check if table exists in MetaTable instance in state %s.", state); return mTableLayoutDatabase.tableExists(tableName); }