![JAR search and dependency download from the Maven repository](/logo.png)
org.dinky.shaded.paimon.FileStore Maven / Gradle / Ivy
The newest version!
/*
* 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.dinky.shaded.paimon;
import org.dinky.shaded.paimon.index.IndexFileHandler;
import org.dinky.shaded.paimon.manifest.ManifestCacheFilter;
import org.dinky.shaded.paimon.manifest.ManifestFile;
import org.dinky.shaded.paimon.manifest.ManifestList;
import org.dinky.shaded.paimon.operation.FileStoreCommit;
import org.dinky.shaded.paimon.operation.FileStoreExpire;
import org.dinky.shaded.paimon.operation.FileStoreRead;
import org.dinky.shaded.paimon.operation.FileStoreScan;
import org.dinky.shaded.paimon.operation.FileStoreWrite;
import org.dinky.shaded.paimon.operation.PartitionExpire;
import org.dinky.shaded.paimon.operation.SnapshotDeletion;
import org.dinky.shaded.paimon.operation.TagDeletion;
import org.dinky.shaded.paimon.table.BucketMode;
import org.dinky.shaded.paimon.tag.TagAutoCreation;
import org.dinky.shaded.paimon.types.RowType;
import org.dinky.shaded.paimon.utils.FileStorePathFactory;
import org.dinky.shaded.paimon.utils.SnapshotManager;
import org.dinky.shaded.paimon.utils.TagManager;
import javax.annotation.Nullable;
import java.io.Serializable;
/**
* File store interface.
*
* @param type of record to read and write.
*/
public interface FileStore extends Serializable {
FileStorePathFactory pathFactory();
SnapshotManager snapshotManager();
RowType partitionType();
CoreOptions options();
BucketMode bucketMode();
FileStoreScan newScan();
ManifestList.Factory manifestListFactory();
ManifestFile.Factory manifestFileFactory();
IndexFileHandler newIndexFileHandler();
FileStoreRead newRead();
FileStoreWrite newWrite(String commitUser);
FileStoreWrite newWrite(String commitUser, ManifestCacheFilter manifestFilter);
FileStoreCommit newCommit(String commitUser);
FileStoreExpire newExpire();
SnapshotDeletion newSnapshotDeletion();
TagManager newTagManager();
TagDeletion newTagDeletion();
@Nullable
PartitionExpire newPartitionExpire(String commitUser);
@Nullable
TagAutoCreation newTagCreationManager();
boolean mergeSchema(RowType rowType, boolean allowExplicitCast);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy