public class StructLikeWrapper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
StructLikeWrapper |
copyFor(StructLike newStruct)
Creates a copy of this wrapper that wraps a struct.
|
boolean |
equals(java.lang.Object other) |
static StructLikeWrapper |
forType(Types.StructType struct) |
StructLike |
get() |
int |
hashCode() |
StructLikeWrapper |
set(StructLike newStruct) |
public static StructLikeWrapper forType(Types.StructType struct)
public StructLikeWrapper copyFor(StructLike newStruct)
This is equivalent to new StructLikeWrapper(type).set(newStruct)
but is cheaper
because no analysis of the type is necessary.
newStruct
- a StructLike
rowpublic StructLikeWrapper set(StructLike newStruct)
public StructLike get()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object