Class UploadHeuristic
java.lang.Object
de.businesscode.bcdui.upload.data.steps.UploadHeuristic
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final floatstatic final Stringstatic Stringprotected final UploadControlprotected final Stringprotected final String -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.businesscode.bcdui.upload.data.steps.IUploadStep
setParams
-
Field Details
-
STEP_ID
-
DIST_THRESHOLD
public static final float DIST_THRESHOLD- See Also:
-
ISNUM_THRESHOLD
public static final float ISNUM_THRESHOLD- See Also:
-
PARAM_TARGETBS_SEPARATOR
- See Also:
-
uc
-
uploadId
-
userId
-
allowedTargetBs
-
-
Constructor Details
-
UploadHeuristic
Constructor- Parameters:
uc-userId-- Throws:
Exception
-
-
Method Details
-
process
Go- Specified by:
processin interfaceIUploadStep- Throws:
ExceptionUploadExceptionSQLException
-