public class SchemaSmoother extends Object
Constraints:
Algorithm:
| Modifier and Type | Class and Description |
|---|---|
static class |
SchemaSmoother.IncompatibleSchemaException
Exception thrown if the prior schema is not compatible with the
new table schema.
|
| Constructor and Description |
|---|
SchemaSmoother(ScanLevelProjection scanProj,
List<ReaderLevelProjection.ReaderProjectionResolver> resolvers) |
| Modifier and Type | Method and Description |
|---|---|
ReaderLevelProjection |
resolve(TupleMetadata tableSchema,
ResolvedTuple outputTuple) |
int |
schemaVersion() |
public SchemaSmoother(ScanLevelProjection scanProj, List<ReaderLevelProjection.ReaderProjectionResolver> resolvers)
public ReaderLevelProjection resolve(TupleMetadata tableSchema, ResolvedTuple outputTuple)
public int schemaVersion()
Copyright © 2021 The Apache Software Foundation. All rights reserved.