Send feedback
Class ForwardingStructReader (6.56.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.56.0 keyboard_arrow_down
public class ForwardingStructReader implements StructReader
Forwarding implements of StructReader
Constructors
ForwardingStructReader(StructReader delegate)
public ForwardingStructReader ( StructReader delegate )
ForwardingStructReader(Supplier<? extends StructReader> delegate)
public ForwardingStructReader ( Supplier <? extends StructReader > delegate )
Parameter Name Description delegate
com.google.common.base.Supplier <? extends com.google.cloud.spanner.StructReader >
Methods
checkValidState()
protected void checkValidState ()
Called before each forwarding call to allow sub classes to do additional state checking. Sub
classes should throw an Exception if the current state is not valid for reading data
from this ForwardingStructReader . The default implementation does nothing.
getBigDecimal(int columnIndex)
public BigDecimal getBigDecimal ( int columnIndex )
Parameter Name Description columnIndex
int
getBigDecimal(String columnName)
public BigDecimal getBigDecimal ( String columnName )
Parameter Name Description columnName
String
getBigDecimalList(int columnIndex)
public List<BigDecimal> getBigDecimalList ( int columnIndex )
Parameter Name Description columnIndex
int
getBigDecimalList(String columnName)
public List<BigDecimal> getBigDecimalList ( String columnName )
Parameter Name Description columnName
String
getBoolean(int columnIndex)
public boolean getBoolean ( int columnIndex )
Parameter Name Description columnIndex
int
getBoolean(String columnName)
public boolean getBoolean ( String columnName )
Parameter Name Description columnName
String
getBooleanArray(int columnIndex)
public boolean [] getBooleanArray ( int columnIndex )
Parameter Name Description columnIndex
int
getBooleanArray(String columnName)
public boolean [] getBooleanArray ( String columnName )
Parameter Name Description columnName
String
getBooleanList(int columnIndex)
public List<Boolean> getBooleanList ( int columnIndex )
Parameter Name Description columnIndex
int
getBooleanList(String columnName)
public List<Boolean> getBooleanList ( String columnName )
Parameter Name Description columnName
String
getBytes(int columnIndex)
public ByteArray getBytes ( int columnIndex )
Parameter Name Description columnIndex
int
Returns Type Description com.google.cloud.ByteArray
getBytes(String columnName)
public ByteArray getBytes ( String columnName )
Parameter Name Description columnName
String
Returns Type Description com.google.cloud.ByteArray
getBytesList(int columnIndex)
public List<ByteArray> getBytesList ( int columnIndex )
Parameter Name Description columnIndex
int
Returns Type Description List <com.google.cloud.ByteArray >
getBytesList(String columnName)
public List<ByteArray> getBytesList ( String columnName )
Parameter Name Description columnName
String
Returns Type Description List <com.google.cloud.ByteArray >
getColumnCount()
public int getColumnCount ()
Returns Type Description int
getColumnIndex(String columnName)
public int getColumnIndex ( String columnName )
Parameter Name Description columnName
String
Returns Type Description int
getColumnType(int columnIndex)
public Type getColumnType ( int columnIndex )
Parameter Name Description columnIndex
int
Returns Type Description Type
getColumnType(String columnName)
public Type getColumnType ( String columnName )
Parameter Name Description columnName
String
Returns Type Description Type
getDate(int columnIndex)
public Date getDate ( int columnIndex )
Parameter Name Description columnIndex
int
Returns Type Description com.google.cloud.Date
getDate(String columnName)
public Date getDate ( String columnName )
Parameter Name Description columnName
String
Returns Type Description com.google.cloud.Date
getDateList(int columnIndex)
public List<Date> getDateList ( int columnIndex )
Parameter Name Description columnIndex
int
Returns Type Description List <com.google.cloud.Date >
getDateList(String columnName)
public List<Date> getDateList ( String columnName )
Parameter Name Description columnName
String
Returns Type Description List <com.google.cloud.Date >
getDouble(int columnIndex)
public double getDouble ( int columnIndex )
Parameter Name Description columnIndex
int
getDouble(String columnName)
public double getDouble ( String columnName )
Parameter Name Description columnName
String
getDoubleArray(int columnIndex)
public double [] getDoubleArray ( int columnIndex )
Parameter Name Description columnIndex
int
Returns Type Description double []
getDoubleArray(String columnName)
public double [] getDoubleArray ( String columnName )
Parameter Name Description columnName
String
Returns Type Description double []
getDoubleList(int columnIndex)
public List<Double> getDoubleList ( int columnIndex )
Parameter Name Description columnIndex
int
getDoubleList(String columnName)
public List<Double> getDoubleList ( String columnName )
Parameter Name Description columnName
String
getJson(int columnIndex)
public String getJson ( int columnIndex )
Parameter Name Description columnIndex
int
getJson(String columnName)
public String getJson ( String columnName )
Parameter Name Description columnName
String
getJsonList(int columnIndex)
public List<String> getJsonList ( int columnIndex )
Parameter Name Description columnIndex
int
getJsonList(String columnName)
public List<String> getJsonList ( String columnName )
Parameter Name Description columnName
String
getLong(int columnIndex)
public long getLong ( int columnIndex )
Parameter Name Description columnIndex
int
Returns Type Description long
getLong(String columnName)
public long getLong ( String columnName )
Parameter Name Description columnName
String
Returns Type Description long
getLongArray(int columnIndex)
public long [] getLongArray ( int columnIndex )
Parameter Name Description columnIndex
int
Returns Type Description long []
getLongArray(String columnName)
public long [] getLongArray ( String columnName )
Parameter Name Description columnName
String
Returns Type Description long []
getLongList(int columnIndex)
public List<Long> getLongList ( int columnIndex )
Parameter Name Description columnIndex
int
getLongList(String columnName)
public List<Long> getLongList ( String columnName )
Parameter Name Description columnName
String
getPgJsonb(int columnIndex)
public String getPgJsonb ( int columnIndex )
Parameter Name Description columnIndex
int
getPgJsonb(String columnName)
public String getPgJsonb ( String columnName )
Parameter Name Description columnName
String
getPgJsonbList(int columnIndex)
public List<String> getPgJsonbList ( int columnIndex )
Parameter Name Description columnIndex
int
getPgJsonbList(String columnName)
public List<String> getPgJsonbList ( String columnName )
Parameter Name Description columnName
String
getString(int columnIndex)
public String getString ( int columnIndex )
Parameter Name Description columnIndex
int
getString(String columnName)
public String getString ( String columnName )
Parameter Name Description columnName
String
getStringList(int columnIndex)
public List<String> getStringList ( int columnIndex )
Parameter Name Description columnIndex
int
getStringList(String columnName)
public List<String> getStringList ( String columnName )
Parameter Name Description columnName
String
getStructList(int columnIndex)
public List<Struct> getStructList ( int columnIndex )
Parameter Name Description columnIndex
int
getStructList(String columnName)
public List<Struct> getStructList ( String columnName )
Parameter Name Description columnName
String
getTimestamp(int columnIndex)
public Timestamp getTimestamp ( int columnIndex )
Parameter Name Description columnIndex
int
Returns Type Description com.google.cloud.Timestamp
getTimestamp(String columnName)
public Timestamp getTimestamp ( String columnName )
Parameter Name Description columnName
String
Returns Type Description com.google.cloud.Timestamp
getTimestampList(int columnIndex)
public List<Timestamp> getTimestampList ( int columnIndex )
Parameter Name Description columnIndex
int
Returns Type Description List <com.google.cloud.Timestamp >
getTimestampList(String columnName)
public List<Timestamp> getTimestampList ( String columnName )
Parameter Name Description columnName
String
Returns Type Description List <com.google.cloud.Timestamp >
getType()
Returns Type Description Type
getValue(int columnIndex)
public Value getValue ( int columnIndex )
Parameter Name Description columnIndex
int
Returns Type Description Value
getValue(String columnName)
public Value getValue ( String columnName )
Parameter Name Description columnName
String
Returns Type Description Value
isNull(int columnIndex)
public boolean isNull ( int columnIndex )
Parameter Name Description columnIndex
int
isNull(String columnName)
public boolean isNull ( String columnName )
Parameter Name Description columnName
String
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."],[],[]]