Send feedback
Class CloudExecutor (6.58.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.58.0 keyboard_arrow_down
public abstract class CloudExecutor
Superclass of cloud Java Client implementations for cloud requests.
Static Fields
DB_NAME
protected static final Pattern DB_NAME
HTTP_TRANSPORT_FACTORY
protected static final HttpTransportFactory HTTP_TRANSPORT_FACTORY
Field Value Type Description com.google.auth.http.HttpTransportFactory
PROJECT_ID
protected static final String PROJECT_ID
Field Value Type Description String
Static Methods
timestampToString(boolean useNanosPrecision, long timestampInMicros)
protected static String timestampToString ( boolean useNanosPrecision , long timestampInMicros )
Converts timestamp microseconds to query-friendly timestamp string. If useNanosPrecision is set
to true it pads input timestamp with 3 random digits treating it as timestamp nanoseconds.
Parameters Name Description useNanosPrecision
boolean
timestampInMicros
long
toProto(Status status)
protected static Status toProto ( Status status )
Convert a Status to a Status Proto.
Parameter Name Description status
io.grpc.Status
Returns Type Description com.google.rpc.Status
Constructors
CloudExecutor()
Fields
enableGrpcFaultInjector
protected boolean enableGrpcFaultInjector
Methods
toStatus(SpannerException e)
protected Status toStatus ( SpannerException e )
Map Cloud ErrorCode to Status.
Returns Type Description io.grpc.Status
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"lastModified": "Last updated 2024-08-21 UTC.",
"confidential": False
}