Package org.apache.iceberg.transforms
Class UnknownTransform<S,T> 
java.lang.Object
org.apache.iceberg.transforms.UnknownTransform<S,T> 
- All Implemented Interfaces:
- Serializable,- Transform<S,- T> 
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.Returns a function that applies this transform to values of the giventype.booleancanTransform(Type type) Checks whether this function can be applied to the givenType.booleangetResultType(Type type) Returns theTypeproduced by this transform given a source type.inthashCode()project(String name, BoundPredicate<S> predicate) Transforms apredicateto an inclusive predicate on the partition values produced by the transform.projectStrict(String name, BoundPredicate<S> predicate) Transforms apredicateto a strict predicate on the partition values produced by the transform.toString()Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.iceberg.transforms.TransformdedupName, isIdentity, isVoid, preservesOrder, satisfiesOrderOf, toHumanString, toHumanString
- 
Method Details- 
applyDeprecated.will be removed in 2.0.0; usebind(Type)insteadTransforms a value to its corresponding partition value.- Specified by:
- applyin interface- Transform<S,- T> 
- Parameters:
- value- a source value
- Returns:
- ∅
- Throws:
- UnsupportedOperationException- Implementation is unknown
 
- 
bindDescription copied from interface:TransformReturns a function that applies this transform to values of the giventype.
- 
canTransformDescription copied from interface:TransformChecks whether this function can be applied to the givenType.- Specified by:
- canTransformin interface- Transform<S,- T> 
- Parameters:
- type- a type
- Returns:
- true if this transform can be applied to the type, false otherwise
 
- 
getResultTypeDescription copied from interface:TransformReturns theTypeproduced by this transform given a source type.- Specified by:
- getResultTypein interface- Transform<S,- T> 
- Parameters:
- type- a type
- Returns:
- the result type created by the apply method for the given type
 
- 
projectDescription copied from interface:TransformTransforms apredicateto an inclusive predicate on the partition values produced by the transform.This inclusive transform guarantees that if pred(v) is true, then projected(apply(v)) is true. 
- 
projectStrictDescription copied from interface:TransformTransforms apredicateto a strict predicate on the partition values produced by the transform.This strict transform guarantees that if strict(apply(v)) is true, then pred(v) is also true. - Specified by:
- projectStrictin interface- Transform<S,- T> 
- Parameters:
- name- the field name for partition values
- predicate- a predicate for source values
- Returns:
- an inclusive predicate on partition values
 
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
 
- 
bind(Type)instead