Class FinkHBaseColumnsProcessor
- java.lang.Object
-
- com.Lomikel.WebService.HBaseColumnsProcessor
-
- com.astrolabsoftware.FinkBrowser.WebService.FinkHBaseColumnsProcessor
-
public class FinkHBaseColumnsProcessor extends HBaseColumnsProcessor
FinkHBaseColumnsProcessor
extracts X-axes from rows for graphs- Author:
- J.Hrivnac
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.logging.log4j.Logger
log
Logging .
-
Constructor Summary
Constructors Constructor Description FinkHBaseColumnsProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
dec()
Give thedec
polar coordinate in degrees.java.lang.String
getDate(java.util.Map<java.lang.String,java.lang.String> entry)
Give the date (from Julian date) corresponding to one table row.java.lang.String
getTimestamp(java.util.Map<java.lang.String,java.lang.String> entry)
Give the value of the X-axes (=Julian date) corresponding to one table row.java.lang.String
ra()
Give thera
polar coordinate in degrees.
-
-
-
Field Detail
-
log
private static org.apache.logging.log4j.Logger log
Logging .
-
-
Constructor Detail
-
FinkHBaseColumnsProcessor
public FinkHBaseColumnsProcessor()
-
-
Method Detail
-
getTimestamp
public java.lang.String getTimestamp(java.util.Map<java.lang.String,java.lang.String> entry)
Give the value of the X-axes (=Julian date) corresponding to one table row.- Overrides:
getTimestamp
in classHBaseColumnsProcessor
- Parameters:
entry
- One row of the table.- Returns:
- The derived value of x-axes.
-
getDate
public java.lang.String getDate(java.util.Map<java.lang.String,java.lang.String> entry)
Give the date (from Julian date) corresponding to one table row.- Overrides:
getDate
in classHBaseColumnsProcessor
- Parameters:
entry
- One row of the table.- Returns:
- The date (may not correspond to the row timestamp).
-
ra
public java.lang.String ra()
Description copied from class:HBaseColumnsProcessor
Give thera
polar coordinate in degrees.- Overrides:
ra
in classHBaseColumnsProcessor
- Returns:
- The
ra
polar coordinate in degrees. The default is 0.
-
dec
public java.lang.String dec()
Description copied from class:HBaseColumnsProcessor
Give thedec
polar coordinate in degrees.- Overrides:
dec
in classHBaseColumnsProcessor
- Returns:
- The
dec
polar coordinate in degrees. The default is 0.
-
-