com.splunk
Class PivotRowSplit

java.lang.Object
  extended by com.splunk.PivotRowSplit
Direct Known Subclasses:
BooleanPivotRowSplit, NumberPivotRowSplit, RangePivotRowSplit, StringPivotRowSplit, TimestampPivotRowSplit

public abstract class PivotRowSplit
extends java.lang.Object

Base class representing row splits in a pivot.


Method Summary
protected  void addCommonFields(com.google.gson.JsonObject obj)
          Add keys common to all row splits to a JSON serialization.
 java.lang.String getFieldName()
           
 java.lang.String getLabel()
           
 java.lang.String[] getOwnerLineage()
           
 java.lang.String getOwnerName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFieldName

public java.lang.String getFieldName()
Returns:
the name of the field to split on.

getOwnerName

public java.lang.String getOwnerName()
Returns:
the name of the data model object on which this split's field is defined.

getOwnerLineage

public java.lang.String[] getOwnerLineage()
Returns:
the lineage, most remote ancestor first, on which the split's field is defined.

getLabel

public java.lang.String getLabel()
Returns:
a human readable label for this split.

addCommonFields

protected void addCommonFields(com.google.gson.JsonObject obj)
Add keys common to all row splits to a JSON serialization.

Parameters:
obj - JSON serialization to modify.