Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class CreateSnapshotRequest extends SnapshotRequest<Void>
* @param snapshotTTL an optional time to live option for the snapshot (available since Cassandra 4.1+)
* The TTL option must specify the units, for example 2d represents a TTL for 2 days;
* 1h represents a TTL of 1 hour, etc. Valid units are {@code d}, {@code h}, {@code s},
* {@code ms}, {@code us}, {@code µs}, {@code ns}, and {@code m}.
* {@code ms}, {@code us}, {@code &#181;s}, {@code ns}, and {@code m}.
*/
public CreateSnapshotRequest(String keyspace, String table, String snapshotName, @Nullable String snapshotTTL)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ public Builder listSnapshotFilesRequest(String keyspace, String tableName, Strin
* @param snapshotTTL an optional time to live option for the snapshot (available since Cassandra 4.1+)
* The TTL option must specify the units, for example 2d represents a TTL for 2 days;
* 1h represents a TTL of 1 hour, etc. Valid units are {@code d}, {@code h}, {@code s},
* {@code ms}, {@code us}, {@code µs}, {@code ns}, and {@code m}.
* {@code ms}, {@code us}, {@code &#181;s}, {@code ns}, and {@code m}.
* @return a reference to this Builder
*/
public Builder createSnapshotRequest(String keyspace, String tableName, String snapshotName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ public CompletableFuture<Void> createSnapshot(SidecarInstance instance,
* @param snapshotTTL an optional time to live option for the snapshot (available since Cassandra 4.1+).
* The TTL option must specify the units, for example 2d represents a TTL for 2 days;
* 1h represents a TTL of 1 hour, etc. Valid units are {@code d}, {@code h}, {@code s},
* {@code ms}, {@code us}, {@code µs}, {@code ns}, and {@code m}.
* {@code ms}, {@code us}, {@code &#181;s}, {@code ns}, and {@code m}.
* @return a completable future for the request
*/
public CompletableFuture<Void> createSnapshot(SidecarInstance instance,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
*
* <p>The type parameter {@code V} is the value type accepted by the Kafka producer:
* {@code V = GenericData.Record} for schema-registry paths (the Avro-aware serializer handles encoding),
* or {@code V = byte[]} for the no-registry path see {@link ByteArrayKafkaPublisher}.
* or {@code V = byte[]} for the no-registry path -- see {@link ByteArrayKafkaPublisher}.
*
* @param <V> the Kafka producer value type
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
*
* <p>Broadcastable wrappers used in BulkWriterConfig:
* <ul>
* <li>{@link IBroadcastableClusterInfo} reconstructs to {@link CassandraClusterInfo} or {@link CassandraClusterInfoGroup}</li>
* <li>{@link BroadcastableJobInfo} reconstructs to {@link CassandraJobInfo}</li>
* <li>{@link BroadcastableSchemaInfo} reconstructs to {@link CassandraSchemaInfo}</li>
* <li>{@link IBroadcastableClusterInfo} -&gt; reconstructs to {@link CassandraClusterInfo} or {@link CassandraClusterInfoGroup}</li>
* <li>{@link BroadcastableJobInfo} -&gt; reconstructs to {@link CassandraJobInfo}</li>
* <li>{@link BroadcastableSchemaInfo} -&gt; reconstructs to {@link CassandraSchemaInfo}</li>
* </ul>
*
* <p>Implements KryoSerializable with fail-fast approach to detect missing Kryo registration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ private Map<String, Object> getBindValuesForColumns(Map<String, Object> map, Str
}

// Convert tuples to TupleValue for CQLSSTableWriter
// - Direct tuple columns: Object[] TupleValue
// - Collections with tuples: List<Object[]> List<TupleValue> (via collection's convertForCqlWriter)
// - Direct tuple columns: Object[] -&gt; TupleValue
// - Collections with tuples: List<Object[]> -&gt; List<TupleValue> (via collection's convertForCqlWriter)
CqlField field = cqlTable.getField(columnName);
if (field != null && columnValue != null)
{
Expand Down