@@ -75,7 +75,7 @@ public AbstractCassandraBlobContainer(BlobPath path, CassandraBlobStore blobStor
75
75
}
76
76
77
77
@ Override public boolean blobExists (String blobName ) {
78
- logger .debug ("TODO blobExists blobKey= {}" , blobKey (blobName ));
78
+ logger .debug ("TODO blobExists {}" , blobKey (blobName ));
79
79
try {
80
80
Cassandra .Client client =
81
81
CassandraClientFactory .getCassandraClient ();
@@ -95,7 +95,7 @@ public AbstractCassandraBlobContainer(BlobPath path, CassandraBlobStore blobStor
95
95
}
96
96
97
97
@ Override public boolean deleteBlob (String blobName ) throws IOException {
98
- logger .debug ("deleteBlob blobKey= {}" , blobKey (blobName ));
98
+ logger .debug ("deleteBlob {}" , blobKey (blobName ));
99
99
Cassandra .Client client =
100
100
CassandraClientFactory .getCassandraClient ();
101
101
try {
@@ -142,7 +142,7 @@ public AbstractCassandraBlobContainer(BlobPath path, CassandraBlobStore blobStor
142
142
}
143
143
144
144
@ Override public void readBlob (final String blobName , final ReadBlobListener listener ) {
145
- logger .debug ("readBlob blobKey= {}" , blobKey (blobName ));
145
+ logger .debug ("readBlob {}" , blobKey (blobName ));
146
146
blobStore .executor ().execute (new Runnable () {
147
147
@ Override public void run () {
148
148
Cassandra .Client client = null ;
@@ -172,13 +172,13 @@ private void readBlob(Cassandra.Client client, String blobName, ReadBlobListener
172
172
ConsistencyLevel .QUORUM );
173
173
Column column = columnOrSuperColumn .getColumn ();
174
174
byte [] blobData = column .getValue ();
175
- logger .debug ("Read {}, {} bytes " , blobKey (blobName ), blobData .length );
175
+ logger .debug ("Read {} bytes: {} " , blobKey (blobName ), blobData .length );
176
176
listener .onPartial (blobData , 0 , blobData .length );
177
177
listener .onCompleted ();
178
178
}
179
179
180
180
@ Override public ImmutableMap <String , BlobMetaData > listBlobsByPrefix (@ Nullable String blobNamePrefix ) throws IOException {
181
- logger .debug ("listBlobsByPrefix blobNamePrefix= {}" , blobKey (blobNamePrefix ));
181
+ logger .debug ("listBlobsByPrefix {}" , blobKey (blobNamePrefix ));
182
182
183
183
List <ColumnOrSuperColumn > columns ;
184
184
Cassandra .Client client = CassandraClientFactory .getCassandraClient ();
@@ -216,7 +216,7 @@ private void readBlob(Cassandra.Client client, String blobName, ReadBlobListener
216
216
Column column = columnOrSuperColumn .getColumn ();
217
217
String name = new String (column .getName (), utf8 );
218
218
long length = Integer .parseInt (new String (column .getValue (), utf8 ));
219
- logger .debug ("name: {}, length: {}" , name , length );
219
+ logger .debug ("name: {} length: {}" , name , length );
220
220
if (blobNamePrefix == null || name .startsWith (blobNamePrefix )) {
221
221
blobsBuilder .put (name , new PlainBlobMetaData (name , length ));
222
222
}
0 commit comments