Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-expression-widget@91498 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
cb58f6ed74
commit
d0b02325f5
|
@ -48,6 +48,8 @@ public class OperatorTypeMap {
|
|||
C_ColumnReferencePlaceholder placeHolder=new C_ColumnReferencePlaceholder(dataType
|
||||
, column.getColumnId());
|
||||
List<TD_Value> arguments=new ArrayList<TD_Value>();
|
||||
TD_Value fArg;
|
||||
TD_Value sArg;
|
||||
|
||||
switch (operatorType) {
|
||||
case ADDITION:
|
||||
|
@ -63,8 +65,8 @@ public class OperatorTypeMap {
|
|||
exp=new C_TextBeginsWith(placeHolder,new C_ConstantList(arguments));
|
||||
break;
|
||||
case BETWEEN:
|
||||
TD_Value fArg=new TD_Value(dataType,firstArg);
|
||||
TD_Value sArg=new TD_Value(dataType,secondArg);
|
||||
fArg=new TD_Value(dataType,firstArg);
|
||||
sArg=new TD_Value(dataType,secondArg);
|
||||
C_Range range=new C_Range(fArg,sArg);
|
||||
exp=new C_Between(placeHolder,range);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue