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:
Giancarlo Panichi 2014-02-12 17:15:41 +00:00
parent cb58f6ed74
commit d0b02325f5
1 changed files with 4 additions and 2 deletions

View File

@ -48,6 +48,8 @@ public class OperatorTypeMap {
C_ColumnReferencePlaceholder placeHolder=new C_ColumnReferencePlaceholder(dataType C_ColumnReferencePlaceholder placeHolder=new C_ColumnReferencePlaceholder(dataType
, column.getColumnId()); , column.getColumnId());
List<TD_Value> arguments=new ArrayList<TD_Value>(); List<TD_Value> arguments=new ArrayList<TD_Value>();
TD_Value fArg;
TD_Value sArg;
switch (operatorType) { switch (operatorType) {
case ADDITION: case ADDITION:
@ -63,8 +65,8 @@ public class OperatorTypeMap {
exp=new C_TextBeginsWith(placeHolder,new C_ConstantList(arguments)); exp=new C_TextBeginsWith(placeHolder,new C_ConstantList(arguments));
break; break;
case BETWEEN: case BETWEEN:
TD_Value fArg=new TD_Value(dataType,firstArg); fArg=new TD_Value(dataType,firstArg);
TD_Value sArg=new TD_Value(dataType,secondArg); sArg=new TD_Value(dataType,secondArg);
C_Range range=new C_Range(fArg,sArg); C_Range range=new C_Range(fArg,sArg);
exp=new C_Between(placeHolder,range); exp=new C_Between(placeHolder,range);
break; break;