Class 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.Type bool()  
      static com.yandex.ydb.ValueProtos.Type date()  
      static com.yandex.ydb.ValueProtos.Type datetime()  
      static com.yandex.ydb.ValueProtos.Type decimal​(int precision, int scale)  
      static com.yandex.ydb.ValueProtos.Type dict​(com.yandex.ydb.ValueProtos.Type keyType, com.yandex.ydb.ValueProtos.Type valueType)  
      static com.yandex.ydb.ValueProtos.Type dyNumber()  
      static com.yandex.ydb.ValueProtos.Type float32()  
      static com.yandex.ydb.ValueProtos.Type float64()  
      static Type fromPb​(com.yandex.ydb.ValueProtos.Type type)  
      static com.yandex.ydb.ValueProtos.Type int16()  
      static com.yandex.ydb.ValueProtos.Type int32()  
      static com.yandex.ydb.ValueProtos.Type int64()  
      static com.yandex.ydb.ValueProtos.Type int8()  
      static com.yandex.ydb.ValueProtos.Type interval()  
      static com.yandex.ydb.ValueProtos.Type json()  
      static com.yandex.ydb.ValueProtos.Type jsonDocument()  
      static com.yandex.ydb.ValueProtos.Type list​(com.yandex.ydb.ValueProtos.Type itemType)  
      static com.yandex.ydb.ValueProtos.Type optional​(com.yandex.ydb.ValueProtos.Type itemType)  
      static com.yandex.ydb.ValueProtos.Type string()  
      static com.yandex.ydb.ValueProtos.Type struct​(com.yandex.ydb.ValueProtos.StructMember firstMember, com.yandex.ydb.ValueProtos.StructMember... members)  
      static com.yandex.ydb.ValueProtos.Type struct​(String memberName, com.yandex.ydb.ValueProtos.Type memberType)  
      static com.yandex.ydb.ValueProtos.Type struct​(String member1Name, com.yandex.ydb.ValueProtos.Type member1Type, String member2Name, com.yandex.ydb.ValueProtos.Type member2Type)  
      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)  
      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)  
      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)  
      static com.yandex.ydb.ValueProtos.Type timestamp()  
      static String toString​(com.yandex.ydb.ValueProtos.Type type)  
      static com.yandex.ydb.ValueProtos.Type tuple()  
      static com.yandex.ydb.ValueProtos.Type tuple​(com.yandex.ydb.ValueProtos.Type... elementTypes)  
      static com.yandex.ydb.ValueProtos.Type tzDate()  
      static com.yandex.ydb.ValueProtos.Type tzDatetime()  
      static com.yandex.ydb.ValueProtos.Type tzTimestamp()  
      static com.yandex.ydb.ValueProtos.Type uint16()  
      static com.yandex.ydb.ValueProtos.Type uint32()  
      static com.yandex.ydb.ValueProtos.Type uint64()  
      static com.yandex.ydb.ValueProtos.Type uint8()  
      static com.yandex.ydb.ValueProtos.Type utf8()  
      static com.yandex.ydb.ValueProtos.Type uuid()  
      static com.yandex.ydb.ValueProtos.Type variant​(com.yandex.ydb.ValueProtos.StructType structType)  
      static com.yandex.ydb.ValueProtos.Type variant​(com.yandex.ydb.ValueProtos.TupleType tupleType)  
      static com.yandex.ydb.ValueProtos.Type variant​(com.yandex.ydb.ValueProtos.Type... elementTypes)  
      static com.yandex.ydb.ValueProtos.Type voidType()  
      static com.yandex.ydb.ValueProtos.Type yson()  
    • Constructor Detail

      • ProtoType

        public ProtoType()
    • 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)