Uses of Class
org.yamcs.yarch.DataType
-
Packages that use DataType Package Description org.yamcs.alarms org.yamcs.cmdhistory org.yamcs.utils org.yamcs.yarch org.yamcs.yarch.rocksdb org.yamcs.yarch.streamsql -
-
Uses of DataType in org.yamcs.alarms
Fields in org.yamcs.alarms declared as DataType Modifier and Type Field Description static DataType
EventAlarmStreamer. EVENT_DATA_TYPE
Constructors in org.yamcs.alarms with parameters of type DataType Constructor Description AlarmStreamer(Stream s, DataType dataType, TupleDefinition tdefTemplate)
-
Uses of DataType in org.yamcs.cmdhistory
Methods in org.yamcs.cmdhistory with parameters of type DataType Modifier and Type Method Description void
StreamCommandHistoryPublisher. publish(org.yamcs.protobuf.Commanding.CommandId cmdId, String key, DataType dt, Object value)
-
Uses of DataType in org.yamcs.utils
Methods in org.yamcs.utils that return DataType Modifier and Type Method Description static DataType
ValueUtility. getYarchType(org.yamcs.protobuf.Yamcs.Value.Type type)
-
Uses of DataType in org.yamcs.yarch
Subclasses of DataType in org.yamcs.yarch Modifier and Type Class Description class
ListDataType
class
ProtobufDataType
class
TupleDataType
Fields in org.yamcs.yarch declared as DataType Modifier and Type Field Description static DataType
DataType. BINARY
static DataType
DataType. BOOLEAN
static DataType
DataType. BYTE
static DataType
DataType. DOUBLE
static DataType
DataType. ENUM
static DataType
DataType. HRES_TIMESTAMP
static DataType
DataType. INT
static DataType
DataType. LONG
static DataType
DataType. PARAMETER_VALUE
static DataType
DataType. SHORT
static DataType
DataType. STRING
static DataType
DataType. TIMESTAMP
protected DataType
ColumnDefinition. type
static DataType
DataType. UUID
Methods in org.yamcs.yarch that return DataType Modifier and Type Method Description static DataType
DataType. byName(String name)
this is the inverse ofname()
DataType
ColumnDefinition. getType()
DataType
PartitioningSpec. getValueColumnType()
static DataType
DataType. list(TupleDefinition td)
static DataType
DataType. protobuf(String className)
static DataType
DataType. tuple(TupleDefinition td)
static DataType
DataType. typeOf(Object v)
Methods in org.yamcs.yarch with parameters of type DataType Modifier and Type Method Description void
Tuple. addColumn(String colName, DataType type, Object colValue)
void
TupleDefinition. addColumn(String name, DataType type)
static Object
DataType. castAs(DataType targetType, Object v)
Performs casting: numbers to numbers numbers to string string to numbersstatic Object
DataType. castAs(DataType sourceType, DataType targetType, Object v)
Performs casting of v from type1 to type2void
TableDefinition. changeDataType(String cname, DataType dataType)
this method is used during table migration between two versionsstatic boolean
DataType. compatible(DataType dt1, DataType dt2)
static <T> ColumnSerializer<T>
ColumnSerializerFactory. getBasicColumnSerializerV2(DataType type)
returns a column serializer for basic typesstatic <T> ColumnSerializer<T>
ColumnSerializerFactory. getBasicColumnSerializerV3(DataType type)
returns a column serializer for basic typesstatic int
DataType. getSerializedSize(DataType dt)
return the size in bytes of the encoded data type if it can be encoded on fixed size, or -1 if not.static boolean
DataType. isComparable(DataType dt)
static boolean
DataType. isNumber(DataType dt)
void
PartitioningSpec. setValueColumnType(DataType valueColumnType)
Constructors in org.yamcs.yarch with parameters of type DataType Constructor Description ColumnDefinition(String name, DataType type)
TableColumnDefinition(String name, DataType type)
-
Uses of DataType in org.yamcs.yarch.rocksdb
Constructors in org.yamcs.yarch.rocksdb with parameters of type DataType Constructor Description ColumnValueSerializer(DataType dt)
-
Uses of DataType in org.yamcs.yarch.streamsql
Fields in org.yamcs.yarch.streamsql declared as DataType Modifier and Type Field Description protected DataType
Expression. type
Methods in org.yamcs.yarch.streamsql that return DataType Modifier and Type Method Description DataType
StreamSqlParser. DataTypeDefinition()
DataType
WindowSpecification. getFieldType()
DataType
Expression. getType()
Constructors in org.yamcs.yarch.streamsql with parameters of type DataType Constructor Description ValueExpression(Object value, DataType type)
-