Class UploadHeuristic

  • All Implemented Interfaces:
    IUploadStep

    public class UploadHeuristic
    extends java.lang.Object
    implements IUploadStep
    This class tries to guess the data content semantics in bcd_dataupload_rowcol and updates bcd_dataupload_control 1. Does the data have a header 2. What data types do the columns have 3. Which columns are dimensions and which metrics 4. In what format are numbers given 5. How would the data match against allowed BindingSets or a given BindingSet, we choose the BindingSet where most number of columns match and were all mandatory columns could be matched
    • Field Detail

      • STEP_ID

        public static java.lang.String STEP_ID
      • PARAM_TARGETBS_SEPARATOR

        public static final java.lang.String PARAM_TARGETBS_SEPARATOR
        See Also:
        Constant Field Values
      • uploadId

        protected final java.lang.String uploadId
      • userId

        protected final java.lang.String userId
      • allowedTargetBs

        protected final java.util.List<java.lang.String> allowedTargetBs
    • Constructor Detail

      • UploadHeuristic

        public UploadHeuristic​(UploadControl uc,
                               java.lang.String userId)
                        throws java.lang.Exception
        Constructor
        Parameters:
        uc -
        userId -
        Throws:
        java.lang.Exception