PrimingRequest.queryBuilder() .withQuery("SELECT * FROM system.peers") .withThen(then().withRows(rows).withColumnTypes(ScassandraCluster.SELECT_PEERS)) .build());
+ node2OldBroadcastAddress.getAddress().getHostAddress() + "'") .withThen(then().withColumnTypes(SELECT_PEERS).build()) .build()); PrimingRequest.queryBuilder() .withQuery("SELECT * FROM system.peers") .withThen(then().withColumnTypes(SELECT_PEERS).withRows(rows).build()) .build());
.withThen( then() .withColumnTypes(SELECT_LOCAL) .withRows(Collections.<Map<String, ?>>singletonList(row)) .build()) .withThen( then() .withColumnTypes(SELECT_LOCAL_V2) .withRows(Collections.<Map<String, ?>>singletonList(row)) .build()) .withThen( then() .withColumnTypes(SELECT_PEERS) .withRows(Collections.<Map<String, ?>>singletonList(row)) .build()) .withThen( then() .withColumnTypes(SELECT_PEERS_V2) .withRows(Collections.<Map<String, ?>>singletonList(rowV2)) .build()) PrimingRequest.queryBuilder() .withQuery("SELECT * FROM system.peers") .withThen(then().withColumnTypes(SELECT_PEERS).withRows(rows.build()).build()) .build());
.withThen( then() .withColumnTypes( localMetadata.toArray(new ColumnMetadata[localMetadata.size()])) .withRows(Collections.<Map<String, ?>>singletonList(row)) .withThen( then() .withColumnTypes( localMetadataV2.toArray(new ColumnMetadata[localMetadataV2.size()])) .withRows(Collections.<Map<String, ?>>singletonList(row)) .withThen( then() .withColumnTypes(SELECT_LOCAL_V2) .withRows(Collections.<Map<String, ?>>singletonList(row)) .build()) .withThen( then() .withColumnTypes( peersMetadata.toArray(new ColumnMetadata[peersMetadata.size()])) .withRows(Collections.<Map<String, ?>>singletonList(row)) .withThen( then() .withColumnTypes( peersMetadataV2.toArray(new ColumnMetadata[peersMetadataV2.size()])) .withRows(Collections.<Map<String, ?>>singletonList(rowV2))
+ node2OldBroadcastAddress.getAddress().getHostAddress() + "'") .withThen(then().withColumnTypes(SELECT_PEERS).build()) .build()); PrimingRequest.queryBuilder() .withQuery("SELECT * FROM system.peers") .withThen(then().withColumnTypes(SELECT_PEERS).withRows(rows).build()) .build());
PrimingRequest.queryBuilder() .withQuery("SELECT * FROM system.peers") .withThen(then().withRows(rows).withColumnTypes(ScassandraCluster.SELECT_PEERS)) .build());