public class Rows extends Object
| Constructor and Description | 
|---|
Rows()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Number | 
objectToNumber(String name,
              Object inputValue)
Convert an object to a number. 
 | 
static List<String> | 
objectToStrings(Object inputValue)
Convert an object to a list of strings. 
 | 
static List<Object> | 
toGroupKey(long timeStamp,
          InputRow inputRow)  | 
public static final Long LONG_ZERO
public static List<Object> toGroupKey(long timeStamp, InputRow inputRow)
timeStamp - rollup up timestamp to be used to create group keyinputRow - input rowpublic static List<String> objectToStrings(Object inputValue)
public static Number objectToNumber(String name, Object inputValue)
name - field name of the object being converted (may be used for exception messages)inputValue - the actual object being convertedNullPointerException - if the string is nullParseException - if the column cannot be converted to a numberCopyright © 2011–2018. All rights reserved.