public final class DeltaErrors
extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeltaErrors.SupplierWithIOException<T> |
| Modifier and Type | Method and Description |
|---|---|
static KernelException |
cannotModifyTableProperty(String key) |
static KernelException |
columnInvariantsNotSupported() |
static ConcurrentWriteException |
concurrentDomainMetadataAction(DomainMetadata domainMetadataAttempt,
DomainMetadata winningDomainMetadata) |
static KernelException |
concurrentTransaction(String appId,
long txnVersion,
long lastUpdated) |
static KernelException |
dataSchemaMismatch(String tablePath,
StructType tableSchema,
StructType dataSchema) |
static KernelException |
domainMetadataUnsupported() |
static KernelException |
duplicateColumnsInSchema(StructType schema,
java.util.List<String> duplicateColumns) |
static KernelException |
endVersionNotFound(String tablePath,
long endVersionRequested,
java.util.Optional<Long> latestAvailableVersion) |
static KernelException |
invalidColumnName(String columnName,
String unsupportedChars) |
static KernelException |
invalidConfigurationValueException(String key,
String value,
String helpMessage) |
static KernelException |
invalidVersionRange(long startVersion,
long endVersion) |
static KernelException |
metadataChangedException() |
static KernelException |
missingNumRecordsStatsForIcebergCompatV2(DataFileStatus dataFileStatus) |
static KernelException |
noCommitFilesFoundForVersionRange(String tablePath,
long startVersion,
long endVersion) |
static KernelException |
partitionColumnMissingInData(String tablePath,
String partitionColumn) |
static KernelException |
protocolChangedException(long attemptVersion) |
static KernelException |
requiresSchemaForNewTable(String tablePath) |
static KernelException |
startVersionNotFound(String tablePath,
long startVersionRequested,
java.util.Optional<Long> earliestAvailableVersion) |
static KernelException |
tableAlreadyExists(String tablePath,
String message) |
static KernelException |
timestampAfterLatestCommit(String tablePath,
long providedTimestamp,
long latestCommitTimestamp,
long latestCommitVersion) |
static KernelException |
timestampBeforeFirstAvailableCommit(String tablePath,
long providedTimestamp,
long earliestCommitTimestamp,
long earliestCommitVersion) |
static KernelException |
unknownConfigurationException(String confKey) |
static KernelException |
unsupportedDataType(DataType dataType) |
static KernelException |
unsupportedPartitionDataType(String colName,
DataType dataType) |
static KernelException |
unsupportedReaderFeature(String tablePath,
java.util.Set<String> unsupportedFeatures) |
static KernelException |
unsupportedReaderProtocol(String tablePath,
int tableReaderVersion) |
static KernelException |
unsupportedWriterFeature(String tablePath,
String writerFeature) |
static KernelException |
unsupportedWriterProtocol(String tablePath,
int tableWriterVersion) |
static KernelException |
versionAfterLatestCommit(String tablePath,
long versionToLoad,
long latestVersion) |
static KernelException |
versionBeforeFirstAvailableCommit(String tablePath,
long versionToLoad,
long earliestVersion) |
static KernelException |
voidTypeEncountered() |
static <T> T |
wrapEngineException(java.util.function.Supplier<T> f,
String msgString,
Object... args) |
static <T> T |
wrapEngineExceptionThrowsIO(DeltaErrors.SupplierWithIOException<T> f,
String msgString,
Object... args) |
public static KernelException versionBeforeFirstAvailableCommit(String tablePath, long versionToLoad, long earliestVersion)
public static KernelException versionAfterLatestCommit(String tablePath, long versionToLoad, long latestVersion)
public static KernelException timestampBeforeFirstAvailableCommit(String tablePath, long providedTimestamp, long earliestCommitTimestamp, long earliestCommitVersion)
public static KernelException timestampAfterLatestCommit(String tablePath, long providedTimestamp, long latestCommitTimestamp, long latestCommitVersion)
public static KernelException noCommitFilesFoundForVersionRange(String tablePath, long startVersion, long endVersion)
public static KernelException startVersionNotFound(String tablePath, long startVersionRequested, java.util.Optional<Long> earliestAvailableVersion)
public static KernelException endVersionNotFound(String tablePath, long endVersionRequested, java.util.Optional<Long> latestAvailableVersion)
public static KernelException invalidVersionRange(long startVersion, long endVersion)
public static KernelException unsupportedReaderProtocol(String tablePath, int tableReaderVersion)
public static KernelException unsupportedReaderFeature(String tablePath, java.util.Set<String> unsupportedFeatures)
public static KernelException unsupportedWriterProtocol(String tablePath, int tableWriterVersion)
public static KernelException unsupportedWriterFeature(String tablePath, String writerFeature)
public static KernelException columnInvariantsNotSupported()
public static KernelException unsupportedDataType(DataType dataType)
public static KernelException unsupportedPartitionDataType(String colName, DataType dataType)
public static KernelException duplicateColumnsInSchema(StructType schema, java.util.List<String> duplicateColumns)
public static KernelException invalidColumnName(String columnName, String unsupportedChars)
public static KernelException requiresSchemaForNewTable(String tablePath)
public static KernelException tableAlreadyExists(String tablePath, String message)
public static KernelException dataSchemaMismatch(String tablePath, StructType tableSchema, StructType dataSchema)
public static KernelException missingNumRecordsStatsForIcebergCompatV2(DataFileStatus dataFileStatus)
public static KernelException partitionColumnMissingInData(String tablePath, String partitionColumn)
public static KernelException concurrentTransaction(String appId, long txnVersion, long lastUpdated)
public static KernelException metadataChangedException()
public static KernelException protocolChangedException(long attemptVersion)
public static KernelException voidTypeEncountered()
public static KernelException cannotModifyTableProperty(String key)
public static KernelException unknownConfigurationException(String confKey)
public static KernelException invalidConfigurationValueException(String key, String value, String helpMessage)
public static KernelException domainMetadataUnsupported()
public static ConcurrentWriteException concurrentDomainMetadataAction(DomainMetadata domainMetadataAttempt, DomainMetadata winningDomainMetadata)
public static <T> T wrapEngineException(java.util.function.Supplier<T> f,
String msgString,
Object... args)
public static <T> T wrapEngineExceptionThrowsIO(DeltaErrors.SupplierWithIOException<T> f, String msgString, Object... args) throws java.io.IOException
java.io.IOException