File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
core/src/main/java/com/scalar/db/storage/objectstorage Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1111import java .util .Map ;
1212import java .util .Objects ;
1313import java .util .Set ;
14+ import java .util .function .Function ;
1415import java .util .stream .Collectors ;
1516import javax .annotation .Nullable ;
1617import javax .annotation .concurrent .Immutable ;
@@ -51,7 +52,9 @@ public ObjectStorageTableMetadata(
5152 public ObjectStorageTableMetadata (TableMetadata tableMetadata ) {
5253 Map <String , String > clusteringOrders =
5354 tableMetadata .getClusteringKeyNames ().stream ()
54- .collect (Collectors .toMap (c -> c , c -> tableMetadata .getClusteringOrder (c ).name ()));
55+ .collect (
56+ Collectors .toMap (
57+ Function .identity (), c -> tableMetadata .getClusteringOrder (c ).name ()));
5558 Map <String , String > columnTypeByName = new HashMap <>();
5659 tableMetadata
5760 .getColumnNames ()
Original file line number Diff line number Diff line change 2424import java .util .stream .Collectors ;
2525
2626public class BlobWrapper implements ObjectStorageWrapper {
27- public static final String STORAGE_NAME = "blob" ;
28-
2927 private final BlobContainerClient client ;
3028 private final Duration requestTimeoutInSeconds ;
3129 private final ParallelTransferOptions parallelTransferOptions ;
You can’t perform that action at this time.
0 commit comments