Package org.apache.iceberg.util
Class StructLikeWrapper
- java.lang.Object
-
- org.apache.iceberg.util.StructLikeWrapper
-
public class StructLikeWrapper extends java.lang.Object
Wrapper to adapt StructLike for use in maps and sets by implementing equals and hashCode.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
static StructLikeWrapper
forType(Types.StructType struct)
StructLike
get()
int
hashCode()
StructLikeWrapper
set(StructLike newStruct)
-
-
-
Method Detail
-
forType
public static StructLikeWrapper forType(Types.StructType struct)
-
set
public StructLikeWrapper set(StructLike newStruct)
-
get
public StructLike get()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-