public class PartitionExpire extends Object
Constructor and Description |
---|
PartitionExpire(java.time.Duration expirationTime,
java.time.Duration checkInterval,
PartitionExpireStrategy strategy,
FileStoreScan scan,
FileStoreCommit commit,
MetastoreClient metastoreClient) |
PartitionExpire(java.time.Duration expirationTime,
java.time.Duration checkInterval,
PartitionExpireStrategy strategy,
FileStoreScan scan,
FileStoreCommit commit,
MetastoreClient metastoreClient,
boolean endInputCheckPartitionExpire) |
Modifier and Type | Method and Description |
---|---|
List<Map<String,String>> |
expire(long commitIdentifier) |
boolean |
isValueAllExpired(Collection<BinaryRow> partitions) |
boolean |
isValueExpiration() |
PartitionExpire |
withLock(Lock lock) |
PartitionExpire |
withMaxExpires(int maxExpires) |
public PartitionExpire(java.time.Duration expirationTime, java.time.Duration checkInterval, PartitionExpireStrategy strategy, FileStoreScan scan, FileStoreCommit commit, @Nullable MetastoreClient metastoreClient, boolean endInputCheckPartitionExpire)
public PartitionExpire(java.time.Duration expirationTime, java.time.Duration checkInterval, PartitionExpireStrategy strategy, FileStoreScan scan, FileStoreCommit commit, @Nullable MetastoreClient metastoreClient)
public PartitionExpire withLock(Lock lock)
public PartitionExpire withMaxExpires(int maxExpires)
public boolean isValueExpiration()
public boolean isValueAllExpired(Collection<BinaryRow> partitions)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.