public class MaskDescriptionImpl extends Object implements DataMaskDescription, Comparable<MaskDescriptionImpl>
Constructor and Description |
---|
MaskDescriptionImpl(int id,
OrcProto.DataMask mask) |
MaskDescriptionImpl(String name,
String... parameters) |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(TypeDescription column) |
int |
compareTo(@NotNull MaskDescriptionImpl other) |
DataMask |
create(TypeDescription schema,
DataMask.MaskOverrides overrides) |
boolean |
equals(Object other) |
TypeDescription[] |
getColumns()
Get the list of columns that use this mask.
|
int |
getId() |
String |
getName()
The name of the mask.
|
String[] |
getParameters()
The parameters for the mask
|
int |
hashCode() |
void |
setId(int id) |
String |
toString() |
public MaskDescriptionImpl(int id, OrcProto.DataMask mask)
public void addColumn(TypeDescription column)
public void setId(int id)
public String getName()
DataMaskDescription
getName
in interface DataMaskDescription
public String[] getParameters()
DataMaskDescription
getParameters
in interface DataMaskDescription
public TypeDescription[] getColumns()
DataMaskDescription
getColumns
in interface DataMaskDescription
public int getId()
public DataMask create(TypeDescription schema, DataMask.MaskOverrides overrides)
public int compareTo(@NotNull @NotNull MaskDescriptionImpl other)
compareTo
in interface Comparable<MaskDescriptionImpl>
Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.