Remove unused methods from CassandraSession
@@ -49,7 +49,6 @@ import io.airlift.json.JsonCodec;
import java.nio.ByteBuffer;
import java.util.ArrayList;
-import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
@@ -127,11 +126,6 @@ public class CassandraSession
return executeWithSession(schemaName, session -> session.execute(cql, values));
}
- public Collection<Host> getAllHosts()
- {
- return executeWithSession("", (SessionCallable<Collection<Host>>) session -> session.getCluster().getMetadata().getAllHosts());
- }
-
public List<String> getAllSchemas()
{
ImmutableList.Builder<String> builder = ImmutableList.builder();
