| Package | Description |
|---|---|
| tech.ydb.core | |
| tech.ydb.core.utils |
| Modifier and Type | Method and Description |
|---|---|
static <V> Result<V> |
Result.fail(UnexpectedResultException unexpected) |
| Modifier and Type | Method and Description |
|---|---|
void |
Status.expectSuccess() |
void |
Status.expectSuccess(String errorMsg) |
T |
Result.getValue() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
boolean a1)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
boolean a1,
boolean a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
boolean a1,
int a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
boolean a1,
long a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
boolean a1,
Object a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
int a1)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
int a1,
boolean a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
int a1,
int a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
int a1,
long a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
int a1,
Object a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
long a1)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
long a1,
boolean a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
long a1,
int a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
long a1,
long a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
long a1,
Object a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
Object... args)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
Object a1)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
Object a1,
boolean a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
Object a1,
int a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
Object a1,
long a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
static <T> T |
Results.getValueOrThrow(Result<T> result,
String template,
Object a1,
Object a2)
Extract a value of the result or throws an exception if the result is unsuccessful.
|
Copyright © 2024. All rights reserved.