Preconditions.checkState(state == State.OPEN,
"Cannot get all from SystemTable instance in state %s.", state);
// TODO: Make this a prepared query.
String queryText = "SELECT * FROM " + mTable + ";";
ResultSet resultSet = mAdmin.execute(queryText);
// Extra the value from the byte buffer, otherwise return this empty buffer
// TODO: Some checks here?
return new CassandraSystemTableIterable(resultSet);
}