Send feedback
Class ReadModifyWriteRow (2.39.5)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.39.5 keyboard_arrow_down
public final class ReadModifyWriteRow implements Serializable
Wraps a ReadModifyWriteRowRequest .
Static Methods
create(TargetId targetId, ByteString key)
public static ReadModifyWriteRow create ( TargetId targetId , ByteString key )
Creates a new instance of the ReadModifyWriteRow for the given target with targetId.
See Also: TableId , AuthorizedViewId
create(TargetId targetId, String key)
public static ReadModifyWriteRow create ( TargetId targetId , String key )
Creates a new instance of the ReadModifyWriteRow for the given target with targetId.
See Also: TableId , AuthorizedViewId
create(String tableId, ByteString key) (deprecated)
public static ReadModifyWriteRow create ( String tableId , ByteString key )
create(String tableId, String key) (deprecated)
public static ReadModifyWriteRow create ( String tableId , String key )
fromProto(ReadModifyWriteRowRequest request)
public static ReadModifyWriteRow fromProto ( ReadModifyWriteRowRequest request )
Beta
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Wraps the protobuf ReadModifyWriteRowRequest .
WARNING: Please note that the table_name will be overwritten by the configuration in the
BigtableDataClient.
Parameter
Name
Description
request
com.google.bigtable.v2.ReadModifyWriteRowRequest
Methods
append(String familyName, ByteString qualifier, ByteString value)
public ReadModifyWriteRow append ( String familyName , ByteString qualifier , ByteString value )
Appends the value to the existing value of the cell. If the targeted cell is unset, it will be
treated as containing the empty string.
append(String familyName, String qualifier, String value)
public ReadModifyWriteRow append ( String familyName , String qualifier , String value )
Appends the value to the existing value of the cell. If the targeted cell is unset, it will be
treated as containing the empty string.
increment(String familyName, ByteString qualifier, long amount)
public ReadModifyWriteRow increment ( String familyName , ByteString qualifier , long amount )
Adds amount
be added to the existing value. If the targeted cell is unset, it will be treated
as containing a zero. Otherwise, the targeted cell must contain an 8-byte value (interpreted as
a 64-bit big-endian signed integer), or the entire request will fail.
increment(String familyName, String qualifier, long amount)
public ReadModifyWriteRow increment ( String familyName , String qualifier , long amount )
Adds amount
be added to the existing value. If the targeted cell is unset, it will be treated
as containing a zero. Otherwise, the targeted cell must contain an 8-byte value (interpreted as
a 64-bit big-endian signed integer), or the entire request will fail.
toProto(RequestContext requestContext)
public ReadModifyWriteRowRequest toProto ( RequestContext requestContext )
Parameter
Name
Description
requestContext
com.google.cloud.bigtable.data.v2.internal.RequestContext
Returns
Type
Description
com.google.bigtable.v2.ReadModifyWriteRowRequest
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-11-26 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-26 UTC."],[],[]]