### YamlMime:JavaType
uid: "com.azure.cosmos.models.ModelBridgeInternal"
fullName: "com.azure.cosmos.models.ModelBridgeInternal"
name: "ModelBridgeInternal"
nameWithType: "ModelBridgeInternal"
summary: "DO NOT USE."
inheritances:
- ""
inheritedMembers:
- "java.lang.Object.clone()"
- "java.lang.Object.equals(java.lang.Object)"
- "java.lang.Object.finalize()"
- "java.lang.Object.getClass()"
- "java.lang.Object.hashCode()"
- "java.lang.Object.notify()"
- "java.lang.Object.notifyAll()"
- "java.lang.Object.toString()"
- "java.lang.Object.wait()"
- "java.lang.Object.wait(long)"
- "java.lang.Object.wait(long,int)"
syntax: "public final class ModelBridgeInternal"
methods:
- uid: "com.azure.cosmos.models.ModelBridgeInternal.createCosmosAsyncItemResponse(com.azure.cosmos.implementation.ResourceResponse,java.lang.Class,com.azure.cosmos.implementation.ItemDeserializer)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.createCosmosAsyncItemResponse(ResourceResponse response, Class classType, ItemDeserializer itemDeserializer)"
name: "createCosmosAsyncItemResponse(ResourceResponse response, Class classType, ItemDeserializer itemDeserializer)"
nameWithType: "ModelBridgeInternal.createCosmosAsyncItemResponse(ResourceResponse response, Class classType, ItemDeserializer itemDeserializer)"
modifiers:
- "static"
parameters:
- name: "response"
type: "<>"
- name: "classType"
type: "Class<>"
- name: "itemDeserializer"
type: ""
syntax: "public static CosmosItemResponse createCosmosAsyncItemResponse(ResourceResponse response, Class classType, ItemDeserializer itemDeserializer)"
returns:
type: "<>"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.createFeedResponse(java.util.List,java.util.Map)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.createFeedResponse(List results, Map headers)"
name: "createFeedResponse(List results, Map headers)"
nameWithType: "ModelBridgeInternal.createFeedResponse(List results, Map headers)"
modifiers:
- "static"
parameters:
- name: "results"
type: "List<>"
- name: "headers"
type: "Map<String,String>"
syntax: "public static FeedResponse createFeedResponse(List results, Map headers)"
returns:
type: "<>"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.createFeedResponseWithQueryMetrics(java.util.List,java.util.Map,java.util.concurrent.ConcurrentMap,com.azure.cosmos.implementation.query.QueryInfo.QueryPlanDiagnosticsContext,boolean,boolean)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.createFeedResponseWithQueryMetrics(List results, Map headers, ConcurrentMap queryMetricsMap, QueryInfo.QueryPlanDiagnosticsContext diagnosticsContext, boolean useEtagAsContinuation, boolean isNoChanges)"
name: "createFeedResponseWithQueryMetrics(List results, Map headers, ConcurrentMap queryMetricsMap, QueryInfo.QueryPlanDiagnosticsContext diagnosticsContext, boolean useEtagAsContinuation, boolean isNoChanges)"
nameWithType: "ModelBridgeInternal.createFeedResponseWithQueryMetrics(List results, Map headers, ConcurrentMap queryMetricsMap, QueryInfo.QueryPlanDiagnosticsContext diagnosticsContext, boolean useEtagAsContinuation, boolean isNoChanges)"
modifiers:
- "static"
parameters:
- name: "results"
type: "List<>"
- name: "headers"
type: "Map<String,String>"
- name: "queryMetricsMap"
type: "ConcurrentMap<String,>"
- name: "diagnosticsContext"
type: ""
- name: "useEtagAsContinuation"
type: ""
- name: "isNoChanges"
type: ""
syntax: "public static FeedResponse createFeedResponseWithQueryMetrics(List results, Map headers, ConcurrentMap queryMetricsMap, QueryInfo.QueryPlanDiagnosticsContext diagnosticsContext, boolean useEtagAsContinuation, boolean isNoChanges)"
returns:
type: "<>"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.getInternalObjectNode(com.azure.cosmos.models.CosmosItemResponse)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.getInternalObjectNode(CosmosItemResponse cosmosItemResponse)"
name: "getInternalObjectNode(CosmosItemResponse cosmosItemResponse)"
nameWithType: "ModelBridgeInternal.getInternalObjectNode(CosmosItemResponse cosmosItemResponse)"
modifiers:
- "static"
parameters:
- name: "cosmosItemResponse"
type: "<>"
syntax: "public static InternalObjectNode getInternalObjectNode(CosmosItemResponse cosmosItemResponse)"
returns:
type: ""
- uid: "com.azure.cosmos.models.ModelBridgeInternal.getJsonSerializable(T)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.getJsonSerializable(T t)"
name: "getJsonSerializable(T t)"
nameWithType: "ModelBridgeInternal.getJsonSerializable(T t)"
modifiers:
- "static"
parameters:
- name: "t"
type: ""
syntax: "public static JsonSerializable getJsonSerializable(T t)"
returns:
type: ""
- uid: "com.azure.cosmos.models.ModelBridgeInternal.getPayloadLength(com.azure.cosmos.models.CosmosItemResponse)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.getPayloadLength(CosmosItemResponse cosmosItemResponse)"
name: "getPayloadLength(CosmosItemResponse cosmosItemResponse)"
nameWithType: "ModelBridgeInternal.getPayloadLength(CosmosItemResponse cosmosItemResponse)"
modifiers:
- "static"
parameters:
- name: "cosmosItemResponse"
type: "<>"
syntax: "public static int getPayloadLength(CosmosItemResponse cosmosItemResponse)"
returns:
type: ""
- uid: "com.azure.cosmos.models.ModelBridgeInternal.getQueryPlanDiagnosticsContext(com.azure.cosmos.models.FeedResponse)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.getQueryPlanDiagnosticsContext(FeedResponse feedResponse)"
name: "getQueryPlanDiagnosticsContext(FeedResponse feedResponse)"
nameWithType: "ModelBridgeInternal.getQueryPlanDiagnosticsContext(FeedResponse feedResponse)"
modifiers:
- "static"
parameters:
- name: "feedResponse"
type: "<>"
syntax: "public static QueryInfo.QueryPlanDiagnosticsContext getQueryPlanDiagnosticsContext(FeedResponse feedResponse)"
returns:
type: ""
- uid: "com.azure.cosmos.models.ModelBridgeInternal.getResource(T)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.getResource(T t)"
name: "getResource(T t)"
nameWithType: "ModelBridgeInternal.getResource(T t)"
modifiers:
- "static"
parameters:
- name: "t"
type: ""
syntax: "public static Resource getResource(T t)"
returns:
type: ""
- uid: "com.azure.cosmos.models.ModelBridgeInternal.instantiateByObjectNode(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.Class)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.instantiateByObjectNode(ObjectNode objectNode, Class c)"
name: "instantiateByObjectNode(ObjectNode objectNode, Class c)"
nameWithType: "ModelBridgeInternal.instantiateByObjectNode(ObjectNode objectNode, Class c)"
modifiers:
- "static"
parameters:
- name: "objectNode"
type: ""
- name: "c"
type: "Class<>"
syntax: "public static T instantiateByObjectNode(ObjectNode objectNode, Class c)"
returns:
type: ""
- uid: "com.azure.cosmos.models.ModelBridgeInternal.noChanges(com.azure.cosmos.implementation.RxDocumentServiceResponse)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.noChanges(RxDocumentServiceResponse rsp)"
name: "noChanges(RxDocumentServiceResponse rsp)"
nameWithType: "ModelBridgeInternal.noChanges(RxDocumentServiceResponse rsp)"
modifiers:
- "static"
parameters:
- name: "rsp"
type: ""
syntax: "public static boolean noChanges(RxDocumentServiceResponse rsp)"
returns:
type: ""
- uid: "com.azure.cosmos.models.ModelBridgeInternal.noChanges(com.azure.cosmos.models.FeedResponse)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.noChanges(FeedResponse page)"
name: "noChanges(FeedResponse page)"
nameWithType: "ModelBridgeInternal.noChanges(FeedResponse page)"
modifiers:
- "static"
parameters:
- name: "page"
type: "<>"
syntax: "public static boolean noChanges(FeedResponse page)"
returns:
type: ""
- uid: "com.azure.cosmos.models.ModelBridgeInternal.populatePropertyBag(T)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.populatePropertyBag(T t)"
name: "populatePropertyBag(T t)"
nameWithType: "ModelBridgeInternal.populatePropertyBag(T t)"
modifiers:
- "static"
parameters:
- name: "t"
type: ""
syntax: "public static void populatePropertyBag(T t)"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.queryMetrics(com.azure.cosmos.models.FeedResponse)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.queryMetrics(FeedResponse feedResponse)"
name: "queryMetrics(FeedResponse feedResponse)"
nameWithType: "ModelBridgeInternal.queryMetrics(FeedResponse feedResponse)"
modifiers:
- "static"
parameters:
- name: "feedResponse"
type: "<>"
syntax: "public static ConcurrentMap queryMetrics(FeedResponse feedResponse)"
returns:
type: "ConcurrentMap<String,>"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.queryMetricsMap(com.azure.cosmos.models.FeedResponse)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.queryMetricsMap(FeedResponse feedResponse)"
name: "queryMetricsMap(FeedResponse feedResponse)"
nameWithType: "ModelBridgeInternal.queryMetricsMap(FeedResponse feedResponse)"
modifiers:
- "static"
parameters:
- name: "feedResponse"
type: "<>"
syntax: "public static ConcurrentMap queryMetricsMap(FeedResponse feedResponse)"
returns:
type: "ConcurrentMap<String,>"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.setFeedResponseContinuationToken(java.lang.String,com.azure.cosmos.models.FeedResponse)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.setFeedResponseContinuationToken(String continuationToken, FeedResponse response)"
name: "setFeedResponseContinuationToken(String continuationToken, FeedResponse response)"
nameWithType: "ModelBridgeInternal.setFeedResponseContinuationToken(String continuationToken, FeedResponse response)"
modifiers:
- "static"
parameters:
- name: "continuationToken"
type: "String"
- name: "response"
type: "<>"
syntax: "public static void setFeedResponseContinuationToken(String continuationToken, FeedResponse response)"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.setProperty(com.azure.cosmos.implementation.JsonSerializable,java.lang.String,T)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.setProperty(JsonSerializable jsonSerializable, String propertyName, T value)"
name: "setProperty(JsonSerializable jsonSerializable, String propertyName, T value)"
nameWithType: "ModelBridgeInternal.setProperty(JsonSerializable jsonSerializable, String propertyName, T value)"
modifiers:
- "static"
parameters:
- name: "jsonSerializable"
type: ""
- name: "propertyName"
type: "String"
- name: "value"
type: ""
syntax: "public static void setProperty(JsonSerializable jsonSerializable, String propertyName, T value)"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.toChangeFeedResponsePage(com.azure.cosmos.implementation.RxDocumentServiceResponse,java.util.function.Function,java.lang.Class)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.toChangeFeedResponsePage(RxDocumentServiceResponse response, Function factoryMethod, Class cls)"
name: "toChangeFeedResponsePage(RxDocumentServiceResponse response, Function factoryMethod, Class cls)"
nameWithType: "ModelBridgeInternal.toChangeFeedResponsePage(RxDocumentServiceResponse response, Function factoryMethod, Class cls)"
modifiers:
- "static"
parameters:
- name: "response"
type: ""
- name: "factoryMethod"
type: "Function<,>"
- name: "cls"
type: "Class<>"
syntax: "public static FeedResponse toChangeFeedResponsePage(RxDocumentServiceResponse response, Function factoryMethod, Class cls)"
returns:
type: "<>"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.toFeedResponsePage(com.azure.cosmos.implementation.RxDocumentServiceResponse,java.util.function.Function,java.lang.Class)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.toFeedResponsePage(RxDocumentServiceResponse response, Function factoryMethod, Class cls)"
name: "toFeedResponsePage(RxDocumentServiceResponse response, Function factoryMethod, Class cls)"
nameWithType: "ModelBridgeInternal.toFeedResponsePage(RxDocumentServiceResponse response, Function factoryMethod, Class cls)"
modifiers:
- "static"
parameters:
- name: "response"
type: ""
- name: "factoryMethod"
type: "Function<,>"
- name: "cls"
type: "Class<>"
syntax: "public static FeedResponse toFeedResponsePage(RxDocumentServiceResponse response, Function factoryMethod, Class cls)"
returns:
type: "<>"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.toFeedResponsePage(java.util.List,java.util.Map,boolean)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.toFeedResponsePage(List results, Map headers, boolean noChanges)"
name: "toFeedResponsePage(List results, Map headers, boolean noChanges)"
nameWithType: "ModelBridgeInternal.toFeedResponsePage(List results, Map headers, boolean noChanges)"
modifiers:
- "static"
parameters:
- name: "results"
type: "List<>"
- name: "headers"
type: "Map<String,String>"
- name: "noChanges"
type: ""
syntax: "public static FeedResponse toFeedResponsePage(List results, Map headers, boolean noChanges)"
returns:
type: "<>"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.toObjectFromJsonSerializable(com.azure.cosmos.implementation.JsonSerializable,java.lang.Class)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.toObjectFromJsonSerializable(JsonSerializable jsonSerializable, Class c)"
name: "toObjectFromJsonSerializable(JsonSerializable jsonSerializable, Class c)"
nameWithType: "ModelBridgeInternal.toObjectFromJsonSerializable(JsonSerializable jsonSerializable, Class c)"
modifiers:
- "static"
parameters:
- name: "jsonSerializable"
type: ""
- name: "c"
type: "Class<>"
syntax: "public static T toObjectFromJsonSerializable(JsonSerializable jsonSerializable, Class c)"
returns:
type: ""
- uid: "com.azure.cosmos.models.ModelBridgeInternal.createCosmosBulkOperationResponse(com.azure.cosmos.models.CosmosItemOperation,com.azure.cosmos.models.CosmosBulkItemResponse,TContext)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.createCosmosBulkOperationResponse(CosmosItemOperation operation, CosmosBulkItemResponse response, TContext batchContext)"
name: "createCosmosBulkOperationResponse(CosmosItemOperation operation, CosmosBulkItemResponse response, TContext batchContext)"
nameWithType: "ModelBridgeInternal.createCosmosBulkOperationResponse(CosmosItemOperation operation, CosmosBulkItemResponse response, TContext batchContext)"
modifiers:
- "static"
parameters:
- name: "operation"
type: ""
- name: "response"
type: ""
- name: "batchContext"
type: ""
syntax: "public static CosmosBulkOperationResponse createCosmosBulkOperationResponse(CosmosItemOperation operation, CosmosBulkItemResponse response, TContext batchContext)"
returns:
type: "<>"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.createCosmosBulkOperationResponse(com.azure.cosmos.models.CosmosItemOperation,java.lang.Exception,TContext)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.createCosmosBulkOperationResponse(CosmosItemOperation operation, Exception exception, TContext batchContext)"
name: "createCosmosBulkOperationResponse(CosmosItemOperation operation, Exception exception, TContext batchContext)"
nameWithType: "ModelBridgeInternal.createCosmosBulkOperationResponse(CosmosItemOperation operation, Exception exception, TContext batchContext)"
modifiers:
- "static"
parameters:
- name: "operation"
type: ""
- name: "exception"
type: "Exception"
- name: "batchContext"
type: ""
syntax: "public static CosmosBulkOperationResponse createCosmosBulkOperationResponse(CosmosItemOperation operation, Exception exception, TContext batchContext)"
returns:
type: "<>"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.addCosmosBatchResultInResponse(com.azure.cosmos.models.CosmosBatchResponse,java.util.List)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.addCosmosBatchResultInResponse(CosmosBatchResponse cosmosBatchResponse, List cosmosBatchOperationResults)"
name: "addCosmosBatchResultInResponse(CosmosBatchResponse cosmosBatchResponse, List cosmosBatchOperationResults)"
nameWithType: "ModelBridgeInternal.addCosmosBatchResultInResponse(CosmosBatchResponse cosmosBatchResponse, List cosmosBatchOperationResults)"
modifiers:
- "static"
parameters:
- name: "cosmosBatchResponse"
type: ""
- name: "cosmosBatchOperationResults"
type: "List<>"
syntax: "public static void addCosmosBatchResultInResponse(CosmosBatchResponse cosmosBatchResponse, List cosmosBatchOperationResults)"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.addQueryInfoToFeedResponse(com.azure.cosmos.models.FeedResponse>,com.azure.cosmos.implementation.query.QueryInfo)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.addQueryInfoToFeedResponse(FeedResponse> feedResponse, QueryInfo queryInfo)"
name: "addQueryInfoToFeedResponse(FeedResponse> feedResponse, QueryInfo queryInfo)"
nameWithType: "ModelBridgeInternal.addQueryInfoToFeedResponse(FeedResponse> feedResponse, QueryInfo queryInfo)"
modifiers:
- "static"
parameters:
- name: "feedResponse"
type: "<?>"
- name: "queryInfo"
type: ""
syntax: "public static void addQueryInfoToFeedResponse(FeedResponse> feedResponse, QueryInfo queryInfo)"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.addQueryPlanDiagnosticsContextToFeedResponse(com.azure.cosmos.models.FeedResponse>,com.azure.cosmos.implementation.query.QueryInfo.QueryPlanDiagnosticsContext)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.addQueryPlanDiagnosticsContextToFeedResponse(FeedResponse> feedResponse, QueryInfo.QueryPlanDiagnosticsContext queryPlanDiagnosticsContext)"
name: "addQueryPlanDiagnosticsContextToFeedResponse(FeedResponse> feedResponse, QueryInfo.QueryPlanDiagnosticsContext queryPlanDiagnosticsContext)"
nameWithType: "ModelBridgeInternal.addQueryPlanDiagnosticsContextToFeedResponse(FeedResponse> feedResponse, QueryInfo.QueryPlanDiagnosticsContext queryPlanDiagnosticsContext)"
modifiers:
- "static"
parameters:
- name: "feedResponse"
type: "<?>"
- name: "queryPlanDiagnosticsContext"
type: ""
syntax: "public static void addQueryPlanDiagnosticsContextToFeedResponse(FeedResponse> feedResponse, QueryInfo.QueryPlanDiagnosticsContext queryPlanDiagnosticsContext)"
- uid: "com.azure.cosmos.models.ModelBridgeInternal.clone(com.azure.cosmos.models.CosmosItemRequestOptions)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.clone(CosmosItemRequestOptions options)"
name: "clone(CosmosItemRequestOptions options)"
nameWithType: "ModelBridgeInternal.clone(CosmosItemRequestOptions options)"
modifiers:
- "static"
parameters:
- name: "options"
type: ""
syntax: "public static CosmosItemRequestOptions clone(CosmosItemRequestOptions options)"
returns:
type: ""
- uid: "com.azure.cosmos.models.ModelBridgeInternal.createChangeFeedRequestOptionsForChangeFeedState(com.azure.cosmos.implementation.changefeed.common.ChangeFeedState)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.createChangeFeedRequestOptionsForChangeFeedState(ChangeFeedState state)"
name: "createChangeFeedRequestOptionsForChangeFeedState(ChangeFeedState state)"
nameWithType: "ModelBridgeInternal.createChangeFeedRequestOptionsForChangeFeedState(ChangeFeedState state)"
modifiers:
- "static"
parameters:
- name: "state"
type: ""
syntax: "public static CosmosChangeFeedRequestOptions createChangeFeedRequestOptionsForChangeFeedState(ChangeFeedState state)"
returns:
type: ""
- uid: "com.azure.cosmos.models.ModelBridgeInternal.createCosmosAsyncItemResponseWithObjectType(com.azure.cosmos.implementation.ResourceResponse)"
fullName: "com.azure.cosmos.models.ModelBridgeInternal.createCosmosAsyncItemResponseWithObjectType(ResourceResponse response)"
name: "createCosmosAsyncItemResponseWithObjectType(ResourceResponse response)"
nameWithType: "ModelBridgeInternal.createCosmosAsyncItemResponseWithObjectType(ResourceResponse response)"
modifiers:
- "static"
parameters:
- name: "response"
type: "<>"
syntax: "public static CosmosItemResponse