Class Alias

  • All Implemented Interfaces:
    Serializable

    public class Alias
    extends Object
    implements Serializable
    The type Alias for Tables, Columns or Views. We support three different types: 1) Simple String: `SELECT 1 AS "ALIAS"` when NAME is set and aliasColumns has no elements 2) UDF Aliases: `SELECT udf(1,2,3) AS "Alias(a,b,c)"` " when NAME!=null and aliasColumns has elements 3) Column lists for LATERAL VIEW: `SELECT * from a LATERAL VIEW EXPLODE ... AS a, b, c`, when NAME is NULL and aliasColumns has elements
    See Also:
    Spark LATERAL VIEW, Serialized Form