Class Parameters

    • Constructor Summary

      Constructors 
      Constructor Description
      Parameters()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription​(java.util.List<java.lang.String> fields)
      Returns a string representation of the parameters, using only the specified fields.
      java.lang.Enum<?> operation()
      Notice the function name can't be getOperation since Jackson would transfer this function in to json value, break Parameter serialization and cause serialization error.
      static alluxio.collections.Pair<java.util.List<java.lang.String>,​java.util.List<java.lang.String>> partitionFieldNames​(java.util.List<Parameters> paramList)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Parameters

        public Parameters()
    • Method Detail

      • getDescription

        public java.lang.String getDescription​(java.util.List<java.lang.String> fields)
        Returns a string representation of the parameters, using only the specified fields.
        Parameters:
        fields - the fields to use for the string representation
        Returns:
        the string representation
      • partitionFieldNames

        public static alluxio.collections.Pair<java.util.List<java.lang.String>,​java.util.List<java.lang.String>> partitionFieldNames​(java.util.List<Parameters> paramList)
        Parameters:
        paramList - the list of parameters to extract the common and unique fields
        Returns:
        a Pair of list of field names, (common fields, unique fields)
      • operation

        public java.lang.Enum<?> operation()
        Notice the function name can't be getOperation since Jackson would transfer this function in to json value, break Parameter serialization and cause serialization error.
        Returns:
        the Operation Enum