CosmosBridgeInternal Class
- java.
lang. Object - com.
azure. cosmos. CosmosBridgeInternal
- com.
public final class CosmosBridgeInternal
DO NOT USE. For internal use only by the SDK. These methods might break at any time. No support will be provided.
Method Summary
Methods inherited from java.lang.Object
Method Details
cloneCosmosClientBuilder
public static CosmosClientBuilder cloneCosmosClientBuilder(CosmosClientBuilder builder)
Parameters:
cosmosException
public static CosmosException cosmosException(int statusCode, Exception innerException)
Parameters:
getAsyncDocumentClient
public static AsyncDocumentClient getAsyncDocumentClient(CosmosAsyncClient client)
Parameters:
getAsyncDocumentClient
public static AsyncDocumentClient getAsyncDocumentClient(CosmosAsyncDatabase cosmosAsyncDatabase)
Parameters:
getAsyncDocumentClient
public static AsyncDocumentClient getAsyncDocumentClient(CosmosClient client)
Parameters:
getConnectionPolicy
public static ConnectionPolicy getConnectionPolicy(CosmosClientBuilder cosmosClientBuilder)
Parameters:
getConsistencyLevel
public static ConsistencyLevel getConsistencyLevel(CosmosClientBuilder cosmosClientBuilder)
Parameters:
getContextClient
public static AsyncDocumentClient getContextClient(CosmosAsyncContainer container)
Parameters:
getContextClient
public static AsyncDocumentClient getContextClient(CosmosAsyncDatabase database)
Parameters:
getCosmosAsyncContainer
public static CosmosAsyncContainer getCosmosAsyncContainer(CosmosContainer container)
Parameters:
getCosmosContainerWithNewClient
public static CosmosAsyncContainer getCosmosContainerWithNewClient(CosmosAsyncContainer cosmosContainer, CosmosAsyncDatabase cosmosDatabase, CosmosAsyncClient client)
Parameters:
getCosmosDatabaseWithNewClient
public static CosmosAsyncDatabase getCosmosDatabaseWithNewClient(CosmosAsyncDatabase cosmosDatabase, CosmosAsyncClient client)
Parameters: