com.tensegrity.palowebviewer.modules.paloclient.client.misc
Class XResult

java.lang.Object
  extended by com.tensegrity.palowebviewer.modules.paloclient.client.misc.XResult
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class XResult
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable


Constructor Summary
XResult()
           
XResult(double[] doubleValues, java.lang.String[] stringValues, int[] nullIndices, int[] indexMapping)
           
 
Method Summary
 IResultElement get(int index)
           
 int[] getIndexMapping()
          indexMapping is needed to map queryed dimension order to response dimension order.
 int getResultCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XResult

public XResult()

XResult

public XResult(double[] doubleValues,
               java.lang.String[] stringValues,
               int[] nullIndices,
               int[] indexMapping)
Method Detail

getIndexMapping

public int[] getIndexMapping()
indexMapping is needed to map queryed dimension order to response dimension order. e.g. if queryed dimension order was 1, then order that dimension in result will be indexMapping[1].


getResultCount

public int getResultCount()

get

public IResultElement get(int index)