public class TsSchema
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
TsSchema.Aggregation |
Modifier and Type | Field and Description |
---|---|
TsSchema.Aggregation |
aggregation |
boolean |
hasInterpolatedFlags |
boolean |
hasQualityCounters |
boolean |
hasQualityFlags |
boolean |
isContinuous |
int |
length |
java.lang.String[] |
names |
static int |
NO_CONSTANT_TIMESTEP |
int |
timeStep |
Constructor and Description |
---|
TsSchema(java.lang.String[] names) |
TsSchema(java.lang.String[] names,
TsSchema.Aggregation aggregation) |
TsSchema(java.lang.String[] names,
TsSchema.Aggregation aggregation,
int timeStep) |
TsSchema(java.lang.String[] names,
TsSchema.Aggregation aggregation,
int timeStep,
boolean isContinuous) |
TsSchema(java.lang.String[] names,
TsSchema.Aggregation aggregation,
int timeStep,
boolean isContinuous,
boolean hasQualityFlags) |
TsSchema(java.lang.String[] names,
TsSchema.Aggregation aggregation,
int timeStep,
boolean isContinuous,
boolean hasQualityFlags,
boolean hasInterpolatedFlags) |
TsSchema(java.lang.String[] names,
TsSchema.Aggregation aggregation,
int timeStep,
boolean isContinuous,
boolean hasQualityFlags,
boolean hasInterpolatedFlags,
boolean hasQualityCounters) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.String[] names) |
TsSchema |
copy() |
static boolean |
isSameNames(TsSchema schema1,
TsSchema schema2) |
static void |
throwDifferentAggregation(TsSchema... schemas) |
static void |
throwDifferentContinuous(TsSchema[] schemas) |
static void |
throwDifferentNames(TsSchema schema1,
TsSchema schema2) |
static void |
throwDifferentQualityFlags(TsSchema[] schemas) |
static void |
throwDifferentTimeStep(TsSchema... schemas) |
void |
throwNoAggregation() |
void |
throwNoBaseAggregation() |
void |
throwNoConstantTimeStep() |
void |
throwNoInterpolatedFlags() |
void |
throwNoQualityFlags() |
void |
throwNotAggregation(TsSchema.Aggregation aggregation) |
void |
throwNotContinuous() |
void |
throwNotStep(int timeStep) |
void |
throwNotVariableStepAggregation() |
java.lang.String |
toString() |
public static final int NO_CONSTANT_TIMESTEP
public final java.lang.String[] names
public final int length
public final TsSchema.Aggregation aggregation
public final int timeStep
public final boolean isContinuous
public final boolean hasQualityFlags
public final boolean hasInterpolatedFlags
public final boolean hasQualityCounters
public TsSchema(java.lang.String[] names, TsSchema.Aggregation aggregation, int timeStep, boolean isContinuous, boolean hasQualityFlags, boolean hasInterpolatedFlags, boolean hasQualityCounters)
public TsSchema(java.lang.String[] names, TsSchema.Aggregation aggregation, int timeStep, boolean isContinuous, boolean hasQualityFlags, boolean hasInterpolatedFlags)
public TsSchema(java.lang.String[] names, TsSchema.Aggregation aggregation, int timeStep, boolean isContinuous, boolean hasQualityFlags)
public TsSchema(java.lang.String[] names, TsSchema.Aggregation aggregation, int timeStep, boolean isContinuous)
public TsSchema(java.lang.String[] names, TsSchema.Aggregation aggregation, int timeStep)
public TsSchema(java.lang.String[] names, TsSchema.Aggregation aggregation)
public TsSchema(java.lang.String[] names)
public TsSchema copy()
public void throwNoAggregation()
public void throwNotAggregation(TsSchema.Aggregation aggregation)
public void throwNotStep(int timeStep)
public void throwNotContinuous()
public static void throwDifferentContinuous(TsSchema[] schemas)
public static void throwDifferentQualityFlags(TsSchema[] schemas)
public static void throwDifferentTimeStep(TsSchema... schemas)
public static void throwDifferentAggregation(TsSchema... schemas)
public void throwNoQualityFlags()
public void throwNoInterpolatedFlags()
public void throwNoConstantTimeStep()
public void throwNoBaseAggregation()
public void throwNotVariableStepAggregation()
public boolean contains(java.lang.String[] names)
public java.lang.String toString()
toString
in class java.lang.Object