Class ProtoType
- java.lang.Object
-
- com.yandex.ydb.table.values.proto.ProtoType
-
public class ProtoType extends Object
- Author:
- Sergey Polovko
-
-
Constructor Summary
Constructors Constructor Description ProtoType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.yandex.ydb.ValueProtos.Typebool()static com.yandex.ydb.ValueProtos.Typedate()static com.yandex.ydb.ValueProtos.Typedatetime()static com.yandex.ydb.ValueProtos.Typedecimal(int precision, int scale)static com.yandex.ydb.ValueProtos.Typedict(com.yandex.ydb.ValueProtos.Type keyType, com.yandex.ydb.ValueProtos.Type valueType)static com.yandex.ydb.ValueProtos.TypedyNumber()static com.yandex.ydb.ValueProtos.Typefloat32()static com.yandex.ydb.ValueProtos.Typefloat64()static TypefromPb(com.yandex.ydb.ValueProtos.Type type)static com.yandex.ydb.ValueProtos.Typeint16()static com.yandex.ydb.ValueProtos.Typeint32()static com.yandex.ydb.ValueProtos.Typeint64()static com.yandex.ydb.ValueProtos.Typeint8()static com.yandex.ydb.ValueProtos.Typeinterval()static com.yandex.ydb.ValueProtos.Typejson()static com.yandex.ydb.ValueProtos.TypejsonDocument()static com.yandex.ydb.ValueProtos.Typelist(com.yandex.ydb.ValueProtos.Type itemType)static com.yandex.ydb.ValueProtos.Typeoptional(com.yandex.ydb.ValueProtos.Type itemType)static com.yandex.ydb.ValueProtos.Typestring()static com.yandex.ydb.ValueProtos.Typestruct(com.yandex.ydb.ValueProtos.StructMember firstMember, com.yandex.ydb.ValueProtos.StructMember... members)static com.yandex.ydb.ValueProtos.Typestruct(String memberName, com.yandex.ydb.ValueProtos.Type memberType)static com.yandex.ydb.ValueProtos.Typestruct(String member1Name, com.yandex.ydb.ValueProtos.Type member1Type, String member2Name, com.yandex.ydb.ValueProtos.Type member2Type)static com.yandex.ydb.ValueProtos.Typestruct(String member1Name, com.yandex.ydb.ValueProtos.Type member1Type, String member2Name, com.yandex.ydb.ValueProtos.Type member2Type, String member3Name, com.yandex.ydb.ValueProtos.Type member3Type)static com.yandex.ydb.ValueProtos.Typestruct(String member1Name, com.yandex.ydb.ValueProtos.Type member1Type, String member2Name, com.yandex.ydb.ValueProtos.Type member2Type, String member3Name, com.yandex.ydb.ValueProtos.Type member3Type, String member4Name, com.yandex.ydb.ValueProtos.Type member4Type)static com.yandex.ydb.ValueProtos.Typestruct(String member1Name, com.yandex.ydb.ValueProtos.Type member1Type, String member2Name, com.yandex.ydb.ValueProtos.Type member2Type, String member3Name, com.yandex.ydb.ValueProtos.Type member3Type, String member4Name, com.yandex.ydb.ValueProtos.Type member4Type, String member5Name, com.yandex.ydb.ValueProtos.Type member5Type)static com.yandex.ydb.ValueProtos.Typetimestamp()static StringtoString(com.yandex.ydb.ValueProtos.Type type)static com.yandex.ydb.ValueProtos.Typetuple()static com.yandex.ydb.ValueProtos.Typetuple(com.yandex.ydb.ValueProtos.Type... elementTypes)static com.yandex.ydb.ValueProtos.TypetzDate()static com.yandex.ydb.ValueProtos.TypetzDatetime()static com.yandex.ydb.ValueProtos.TypetzTimestamp()static com.yandex.ydb.ValueProtos.Typeuint16()static com.yandex.ydb.ValueProtos.Typeuint32()static com.yandex.ydb.ValueProtos.Typeuint64()static com.yandex.ydb.ValueProtos.Typeuint8()static com.yandex.ydb.ValueProtos.Typeutf8()static com.yandex.ydb.ValueProtos.Typeuuid()static com.yandex.ydb.ValueProtos.Typevariant(com.yandex.ydb.ValueProtos.StructType structType)static com.yandex.ydb.ValueProtos.Typevariant(com.yandex.ydb.ValueProtos.TupleType tupleType)static com.yandex.ydb.ValueProtos.Typevariant(com.yandex.ydb.ValueProtos.Type... elementTypes)static com.yandex.ydb.ValueProtos.TypevoidType()static com.yandex.ydb.ValueProtos.Typeyson()
-
-
-
Method Detail
-
bool
public static com.yandex.ydb.ValueProtos.Type bool()
-
int8
public static com.yandex.ydb.ValueProtos.Type int8()
-
uint8
public static com.yandex.ydb.ValueProtos.Type uint8()
-
int16
public static com.yandex.ydb.ValueProtos.Type int16()
-
uint16
public static com.yandex.ydb.ValueProtos.Type uint16()
-
int32
public static com.yandex.ydb.ValueProtos.Type int32()
-
uint32
public static com.yandex.ydb.ValueProtos.Type uint32()
-
int64
public static com.yandex.ydb.ValueProtos.Type int64()
-
uint64
public static com.yandex.ydb.ValueProtos.Type uint64()
-
float32
public static com.yandex.ydb.ValueProtos.Type float32()
-
float64
public static com.yandex.ydb.ValueProtos.Type float64()
-
string
public static com.yandex.ydb.ValueProtos.Type string()
-
utf8
public static com.yandex.ydb.ValueProtos.Type utf8()
-
yson
public static com.yandex.ydb.ValueProtos.Type yson()
-
json
public static com.yandex.ydb.ValueProtos.Type json()
-
uuid
public static com.yandex.ydb.ValueProtos.Type uuid()
-
date
public static com.yandex.ydb.ValueProtos.Type date()
-
datetime
public static com.yandex.ydb.ValueProtos.Type datetime()
-
timestamp
public static com.yandex.ydb.ValueProtos.Type timestamp()
-
interval
public static com.yandex.ydb.ValueProtos.Type interval()
-
tzDate
public static com.yandex.ydb.ValueProtos.Type tzDate()
-
tzDatetime
public static com.yandex.ydb.ValueProtos.Type tzDatetime()
-
tzTimestamp
public static com.yandex.ydb.ValueProtos.Type tzTimestamp()
-
jsonDocument
public static com.yandex.ydb.ValueProtos.Type jsonDocument()
-
dyNumber
public static com.yandex.ydb.ValueProtos.Type dyNumber()
-
decimal
public static com.yandex.ydb.ValueProtos.Type decimal(int precision, int scale)
-
dict
public static com.yandex.ydb.ValueProtos.Type dict(com.yandex.ydb.ValueProtos.Type keyType, com.yandex.ydb.ValueProtos.Type valueType)
-
list
public static com.yandex.ydb.ValueProtos.Type list(com.yandex.ydb.ValueProtos.Type itemType)
-
optional
public static com.yandex.ydb.ValueProtos.Type optional(com.yandex.ydb.ValueProtos.Type itemType)
-
struct
public static com.yandex.ydb.ValueProtos.Type struct(String memberName, com.yandex.ydb.ValueProtos.Type memberType)
-
struct
public static com.yandex.ydb.ValueProtos.Type struct(String member1Name, com.yandex.ydb.ValueProtos.Type member1Type, String member2Name, com.yandex.ydb.ValueProtos.Type member2Type)
-
struct
public static com.yandex.ydb.ValueProtos.Type struct(String member1Name, com.yandex.ydb.ValueProtos.Type member1Type, String member2Name, com.yandex.ydb.ValueProtos.Type member2Type, String member3Name, com.yandex.ydb.ValueProtos.Type member3Type)
-
struct
public static com.yandex.ydb.ValueProtos.Type struct(String member1Name, com.yandex.ydb.ValueProtos.Type member1Type, String member2Name, com.yandex.ydb.ValueProtos.Type member2Type, String member3Name, com.yandex.ydb.ValueProtos.Type member3Type, String member4Name, com.yandex.ydb.ValueProtos.Type member4Type)
-
struct
public static com.yandex.ydb.ValueProtos.Type struct(String member1Name, com.yandex.ydb.ValueProtos.Type member1Type, String member2Name, com.yandex.ydb.ValueProtos.Type member2Type, String member3Name, com.yandex.ydb.ValueProtos.Type member3Type, String member4Name, com.yandex.ydb.ValueProtos.Type member4Type, String member5Name, com.yandex.ydb.ValueProtos.Type member5Type)
-
struct
public static com.yandex.ydb.ValueProtos.Type struct(com.yandex.ydb.ValueProtos.StructMember firstMember, com.yandex.ydb.ValueProtos.StructMember... members)
-
tuple
public static com.yandex.ydb.ValueProtos.Type tuple()
-
tuple
public static com.yandex.ydb.ValueProtos.Type tuple(com.yandex.ydb.ValueProtos.Type... elementTypes)
-
variant
public static com.yandex.ydb.ValueProtos.Type variant(com.yandex.ydb.ValueProtos.StructType structType)
-
variant
public static com.yandex.ydb.ValueProtos.Type variant(com.yandex.ydb.ValueProtos.TupleType tupleType)
-
variant
public static com.yandex.ydb.ValueProtos.Type variant(com.yandex.ydb.ValueProtos.Type... elementTypes)
-
voidType
public static com.yandex.ydb.ValueProtos.Type voidType()
-
fromPb
public static Type fromPb(com.yandex.ydb.ValueProtos.Type type)
-
toString
public static String toString(com.yandex.ydb.ValueProtos.Type type)
-
-