CopyRecord is a common interface for COPY data records that are produced by a parser for
a specific COPY format.
Methods
getValue(Type type, int columnIndex)
public abstract Value getValue(Type type, int columnIndex)
Returns the value of the given column as a Cloud Spanner Value of the given type. This
method is used by a COPY ... FROM ... operation to convert a value to the type of the column
where it is being inserted. This method is supported for all types of CopyRecord.
public abstract Value getValue(Type type, String columnName)
Returns the value of the given column as a Cloud Spanner Value of the given type. This
method is used by a COPY ... FROM ... operation to convert a value to the type of the column
where it is being inserted. This method can only be used with records that contains column
names.
[[["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-10-30 UTC."],[],[]]