This is an automated email from the ASF dual-hosted git repository. mhubail pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/asterixdb.git
The following commit(s) were added to refs/heads/master by this push: new b33d053 [NO ISSUE][OTH] Delete unused class IndexFileNameUtil b33d053 is described below commit b33d0537d74b4ea3798085205c3024bf4c893059 Author: Murtadha Hubail <murtadha.hub...@couchbase.com> AuthorDate: Wed Oct 13 02:51:35 2021 +0300 [NO ISSUE][OTH] Delete unused class IndexFileNameUtil - user model changes: no - storage format changes: no - interface changes: no Change-Id: Idfd96475de64008d6e687abaf86f541746742690 Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/13665 Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Reviewed-by: Murtadha Hubail <mhub...@apache.org> Reviewed-by: Ali Alsuliman <ali.al.solai...@gmail.com> --- .../storage/am/common/util/IndexFileNameUtil.java | 44 ---------------------- 1 file changed, 44 deletions(-) diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/util/IndexFileNameUtil.java b/hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/util/IndexFileNameUtil.java deleted file mode 100644 index 6f2850d..0000000 --- a/hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/util/IndexFileNameUtil.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.hyracks.storage.am.common.util; - -import java.io.File; - -import org.apache.hyracks.api.exceptions.HyracksDataException; -import org.apache.hyracks.api.io.FileReference; -import org.apache.hyracks.api.io.FileSplit; -import org.apache.hyracks.api.io.IIOManager; -import org.apache.hyracks.dataflow.std.file.IFileSplitProvider; - -public class IndexFileNameUtil { - - public static final String IO_DEVICE_NAME_PREFIX = "device_id_"; - - @Deprecated - public static String prepareFileName(String path, int ioDeviceId) { - return path + File.separator + IO_DEVICE_NAME_PREFIX + ioDeviceId; - } - - public static FileReference getIndexAbsoluteFileRef(IFileSplitProvider fileSplitProvider, int partition, - IIOManager ioManager) throws HyracksDataException { - FileSplit split = fileSplitProvider.getFileSplits()[partition]; - return split.getFileReference(ioManager); - } -}