-
Terminally Deprecated ElementsElementDescriptiontech.ydb.yoj.repository.ydb.statement.MultipleVarsYqlStatement
(EntitySchema<ENTITY>, Schema<RESULT>) Use constructor withTableDescriptorfor selecting correct entity tableUse constructor withTableDescriptorfor selecting correct entity tabletech.ydb.yoj.repository.ydb.statement.YqlStatement.mergeParts(Stream<? extends YqlStatementPart<?>>) This method is deprecated and will be removed in YOJ 3.0.0. Please useYqlStatement.mergeParts(Collection)instead.Please calculate the maximum number of rows fetched by thisLIMITclause by usingYqlLimit.getLimit()andYqlLimit.getOffset()instead.This method will be removed in YOJ 3.0.0. There is no alternative, just stop calling it.This method will be removed in YOJ 3.0.0. There is no alternative, just stop calling it.This method will be removed in YOJ 3.0.0. CalluseNewMappingFor(STRING, ENUM, UUID)instead, if you wish to map Strings, Enums and UUIDs toUTF8(TEXT) YDB column type (i.e., UTF-8 encoded text).This method will be removed in YOJ 3.0.0. Nothing in YOJ callsYqlPrimitiveType.of(Type)any more.Please use
YqlPrimitiveType.of(JavaField)because it correcly respects the customizations specified in the@Columnand@CustomValueTypeannotations.This method has a misleading name and will be removed in YOJ 3.0.0. CalluseLegacyMappingFor(STRING, ENUM, UUID)instead, if you wish to map Strings, Enums and UUIDs toSTRING(BYTES) YDB column type (i.e., a byte array).This method will be removed in YOJ 3.0.0. Nothing in YOJ callsYqlType.of(Type)any more.Please use
YqlType.of(JavaField)because it correcly respects the customizations specified in the@Columnannotation.This method is confusingly named, because there also is a static constructorYqlView.index(String). It will be removed in YOJ 3.0.0. Please use#getIndex()instead.
-
Deprecated ClassesClassDescriptionLegacy implementation of
SpliteratorforReadTable. Will be eventually removed in a future YOJ version.To use the new
Spliteratorcontract-conformant implementation, setReadTableParams.builder().<...>.useNewSpliterator(true).Note that using the new implementation currently has a negative performance impact, for more information refer to GitHub Issue #42.
-
Deprecated MethodsMethodDescriptiontech.ydb.yoj.repository.ydb.statement.YqlStatement.mergeParts
(Stream<? extends YqlStatementPart<?>>) This method is deprecated and will be removed in YOJ 3.0.0. Please useYqlStatement.mergeParts(Collection)instead.Please calculate the maximum number of rows fetched by thisLIMITclause by usingYqlLimit.getLimit()andYqlLimit.getOffset()instead.This method will be removed in YOJ 3.0.0. There is no alternative, just stop calling it.This method will be removed in YOJ 3.0.0. There is no alternative, just stop calling it.This method will be removed in YOJ 3.0.0. CalluseNewMappingFor(STRING, ENUM, UUID)instead, if you wish to map Strings, Enums and UUIDs toUTF8(TEXT) YDB column type (i.e., UTF-8 encoded text).This method will be removed in YOJ 3.0.0. Nothing in YOJ callsYqlPrimitiveType.of(Type)any more.Please use
YqlPrimitiveType.of(JavaField)because it correcly respects the customizations specified in the@Columnand@CustomValueTypeannotations.This method has a misleading name and will be removed in YOJ 3.0.0. CalluseLegacyMappingFor(STRING, ENUM, UUID)instead, if you wish to map Strings, Enums and UUIDs toSTRING(BYTES) YDB column type (i.e., a byte array).We STRONGLY advise against using the legacy mapping in new projects. Please calluseNewMappingFor(FieldValueType.values())instead, and annotate custom-mapped columns with@Columnwhere a different mapping is desired.This method will be removed in YOJ 3.0.0. Nothing in YOJ callsYqlType.of(Type)any more.Please use
YqlType.of(JavaField)because it correcly respects the customizations specified in the@Columnannotation.This method is confusingly named, because there also is a static constructorYqlView.index(String). It will be removed in YOJ 3.0.0. Please use#getIndex()instead.
-
Deprecated ConstructorsConstructorDescriptiontech.ydb.yoj.repository.ydb.statement.MultipleVarsYqlStatement
(EntitySchema<ENTITY>, Schema<RESULT>) Use constructor withTableDescriptorfor selecting correct entity tableUse constructor withTableDescriptorfor selecting correct entity tableUse constructor withTableDescriptorfor selecting correct entity table
TableDescriptorfor selecting correct entity table