public class DTOConverters
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| static Column | fromDTO(ColumnDTO column)Converts a ColumnDTO to a Column. | 
| static Credential | fromDTO(CredentialDTO credential)Converts a CredentialDTO to a credential. | 
| static Credential[] | fromDTO(CredentialDTO[] credentials)Converts CredentialDTO array to credential array. | 
| static Distribution | fromDTO(DistributionDTO distributionDTO)Converts a DistributionDTO to a Distribution. | 
| static Index | fromDTO(IndexDTO indexDTO)Converts a IndexDTO to an Index. | 
| static Partition | fromDTO(PartitionDTO partitionDTO)Converts a PartitionDTO to a Partition. | 
| static Transform | fromDTO(Partitioning partitioning)Converts a partitioning DTO to a Transform. | 
| static SortOrder | fromDTO(SortOrderDTO sortOrderDTO)Converts a SortOrderDTO to a SortOrder. | 
| static Table | fromDTO(TableDTO tableDTO)Converts a TableDTO to a Table. | 
| static Column[] | fromDTOs(ColumnDTO[] columns)Converts a ColumnDTO to a Column. | 
| static Index[] | fromDTOs(IndexDTO[] indexDTOs)Converts an array of IndexDTOs to an array of Indexes. | 
| static Transform[] | fromDTOs(Partitioning[] partitioning)Converts an array of Partitioning DTOs to an array of Transforms. | 
| static SortOrder[] | fromDTOs(SortOrderDTO[] sortOrderDTO)Converts an array of SortOrderDTOs to an array of SortOrders. | 
| static Expression | fromFunctionArg(FunctionArg arg)Converts a FunctionArg DTO to an Expression. | 
| static Expression[] | fromFunctionArgs(FunctionArg[] args)Converts a FunctionArg DTO to an Expression. | 
| static Privilege | fromPrivilegeDTO(PrivilegeDTO privilegeDTO)Converts a Privilege DTO to a Privilege | 
| static AuditDTO | toDTO(Audit audit) | 
| static CatalogDTO | toDTO(Catalog catalog)Converts a  Catalogto aCatalogDTO. | 
| static ColumnDTO | toDTO(Column column) | 
| static CredentialDTO | toDTO(Credential credential)Converts a Credential to a CredentialDTO. | 
| static CredentialDTO[] | toDTO(Credential[] credentials)Converts credentials to CredentialDTOs. | 
| static DistributionDTO | toDTO(Distribution distribution)Converts a Distribution implementation to a DistributionDTO. | 
| static FilesetDTO | toDTO(Fileset fileset)Converts a Fileset to a FilesetDTO. | 
| static GroupDTO | toDTO(Group group)Converts a group implementation to a GroupDTO. | 
| static IndexDTO | toDTO(Index index)Converts an index implementation to an IndexDTO. | 
| static MetadataObjectDTO | toDTO(MetadataObject metadataObject)Converts a MetadataObject to a MetadataObjectDTO. | 
| static MetalakeDTO | toDTO(Metalake metalake)Converts a  Metalaketo aMetalakeDTO. | 
| static ModelDTO | toDTO(Model model)Converts a Model to a ModelDTO. | 
| static ModelVersionDTO | toDTO(ModelVersion modelVersion)Converts a ModelVersion to a ModelVersionDTO. | 
| static OwnerDTO | toDTO(Owner owner) | 
| static PartitionDTO | toDTO(Partition partition)Converts a  Partitionto aPartitionDTO. | 
| static PrivilegeDTO | toDTO(Privilege privilege)Converts a privilege implementation to a PrivilegeDTO. | 
| static RoleDTO | toDTO(Role role)Converts a role implementation to a RoleDTO. | 
| static SchemaDTO | toDTO(Schema schema) | 
| static SecurableObjectDTO | toDTO(SecurableObject securableObject)Converts a securable object implementation to a SecurableObjectDTO. | 
| static SortOrderDTO | toDTO(SortOrder sortOrder)Converts a SortOrder implementation to a SortOrderDTO. | 
| static TableDTO | toDTO(Table table)Converts a table implementation to a  TableDTO. | 
| static TagDTO | toDTO(Tag tag,
     java.util.Optional<java.lang.Boolean> inherited)Converts a Tag to a TagDTO. | 
| static TopicDTO | toDTO(Topic topic)Converts a Topic to a TopicDTO. | 
| static Partitioning | toDTO(Transform transform)Converts a Transform implementation to a Partitioning DTO. | 
| static UserDTO | toDTO(User user)Converts a user implementation to a UserDTO. | 
| static CatalogDTO[] | toDTOs(Catalog[] catalogs)Converts an array of Catalogs to an array of CatalogDTOs. | 
| static ColumnDTO[] | toDTOs(Column[] columns)Converts an array of Columns to an array of ColumnDTOs. | 
| static GroupDTO[] | toDTOs(Group[] groups)Converts an array of Groups to an array of GroupDTOs. | 
| static IndexDTO[] | toDTOs(Index[] indexes)Converts an array of Indexes to an array of IndexDTOs. | 
| static PartitionDTO[] | toDTOs(Partition[] partitions)Converts an array of Partitions to an array of PartitionDTOs. | 
| static SortOrderDTO[] | toDTOs(SortOrder[] sortOrders)Converts an array of SortOrders to an array of SortOrderDTOs. | 
| static Partitioning[] | toDTOs(Transform[] transforms)Converts an array of Transforms to an array of Partitioning DTOs. | 
| static UserDTO[] | toDTOs(User[] users)Converts an array of Users to an array of UserDTOs. | 
| static FunctionArg | toFunctionArg(Expression expression)Converts an Expression to an FunctionArg DTO. | 
| static FunctionArg[] | toFunctionArg(Expression[] expressions)Converts an array of Expressions to an array of FunctionArg DTOs. | 
public static AuditDTO toDTO(Audit audit)
audit - The audit.public static OwnerDTO toDTO(Owner owner)
owner - The owner.public static MetalakeDTO toDTO(Metalake metalake)
Metalake to a MetalakeDTO.metalake - The metalake.public static PartitionDTO toDTO(Partition partition)
Partition to a PartitionDTO.partition - The partition.public static CatalogDTO toDTO(Catalog catalog)
Catalog to a CatalogDTO.catalog - The catalog.public static SchemaDTO toDTO(Schema schema)
schema - The schema.public static ColumnDTO toDTO(Column column)
column - The column.public static TableDTO toDTO(Table table)
TableDTO.table - The table implementation.public static DistributionDTO toDTO(Distribution distribution)
distribution - The distribution implementation.public static SortOrderDTO toDTO(SortOrder sortOrder)
sortOrder - The sort order implementation.public static Partitioning toDTO(Transform transform)
transform - The transform implementation.public static IndexDTO toDTO(Index index)
index - The index implementation.public static UserDTO toDTO(User user)
user - The user implementation.public static GroupDTO toDTO(Group group)
group - The group implementation.public static RoleDTO toDTO(Role role)
role - The role implementation.public static SecurableObjectDTO toDTO(SecurableObject securableObject)
securableObject - The securable object implementation.public static PrivilegeDTO toDTO(Privilege privilege)
privilege - The privilege implementation.public static MetadataObjectDTO toDTO(MetadataObject metadataObject)
metadataObject - The metadata object to be converted.public static TagDTO toDTO(Tag tag, java.util.Optional<java.lang.Boolean> inherited)
tag - The tag to be converted.inherited - The inherited flag.public static CredentialDTO[] toDTO(Credential[] credentials)
credentials - the credentials to be converted.public static CredentialDTO toDTO(Credential credential)
credential - the credential to be converted.public static FunctionArg toFunctionArg(Expression expression)
expression - The expression to be converted.public static FunctionArg[] toFunctionArg(Expression[] expressions)
expressions - The expressions to be converted.public static FilesetDTO toDTO(Fileset fileset)
fileset - The fileset to be converted.public static TopicDTO toDTO(Topic topic)
topic - The topic to be converted.public static ModelDTO toDTO(Model model)
model - The model to be converted.public static ModelVersionDTO toDTO(ModelVersion modelVersion)
modelVersion - The model version to be converted.public static ColumnDTO[] toDTOs(Column[] columns)
columns - The columns to be converted.public static SortOrderDTO[] toDTOs(SortOrder[] sortOrders)
sortOrders - The sort orders to be converted.public static Partitioning[] toDTOs(Transform[] transforms)
transforms - The transforms to be converted.public static IndexDTO[] toDTOs(Index[] indexes)
indexes - The indexes to be converted.public static PartitionDTO[] toDTOs(Partition[] partitions)
partitions - The partitions to be converted.public static CatalogDTO[] toDTOs(Catalog[] catalogs)
catalogs - The catalogs to be converted.public static UserDTO[] toDTOs(User[] users)
users - The users to be converted.public static GroupDTO[] toDTOs(Group[] groups)
groups - The groups to be converted.public static Distribution fromDTO(DistributionDTO distributionDTO)
distributionDTO - The distribution DTO.public static Expression[] fromFunctionArgs(FunctionArg[] args)
args - The function argument DTOs to be converted.public static Expression fromFunctionArg(FunctionArg arg)
arg - The function argument DTO to be converted.public static Index fromDTO(IndexDTO indexDTO)
indexDTO - The Index DTO to be converted.public static Index[] fromDTOs(IndexDTO[] indexDTOs)
indexDTOs - The Index DTOs to be converted.public static Partition fromDTO(PartitionDTO partitionDTO)
partitionDTO - The partition DTO to be converted.public static SortOrder fromDTO(SortOrderDTO sortOrderDTO)
sortOrderDTO - The sort order DTO to be converted.public static SortOrder[] fromDTOs(SortOrderDTO[] sortOrderDTO)
sortOrderDTO - The sort order DTOs to be converted.public static Transform[] fromDTOs(Partitioning[] partitioning)
partitioning - The partitioning DTOs to be converted.public static Column[] fromDTOs(ColumnDTO[] columns)
columns - The column DTO to be converted.public static Credential[] fromDTO(CredentialDTO[] credentials)
credentials - The credential DTO array to be converted.public static Credential fromDTO(CredentialDTO credential)
credential - The credential DTO to be converted.public static Column fromDTO(ColumnDTO column)
column - The column DTO to be converted.public static Table fromDTO(TableDTO tableDTO)
tableDTO - The table DTO to be converted.public static Transform fromDTO(Partitioning partitioning)
partitioning - The partitioning DTO to be converted.public static Privilege fromPrivilegeDTO(PrivilegeDTO privilegeDTO)
privilegeDTO - The privilege DTO to be converted.