Class ForwardingStructReader (6.53.0)

public class ForwardingStructReader implements StructReader

Forwarding implements of StructReader

Inheritance

java.lang.Object > ForwardingStructReader

Implements

StructReader

Constructors

ForwardingStructReader(StructReader delegate)

public ForwardingStructReader(StructReader delegate)
Parameter
NameDescription
delegateStructReader

ForwardingStructReader(Supplier<? extends StructReader> delegate)

public ForwardingStructReader(Supplier<? extends StructReader> delegate)
Parameter
NameDescription
delegatecom.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
NameDescription
columnIndexint
Returns
TypeDescription
BigDecimal

getBigDecimal(String columnName)

public BigDecimal getBigDecimal(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
BigDecimal

getBigDecimalList(int columnIndex)

public List<BigDecimal> getBigDecimalList(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
List<BigDecimal>

getBigDecimalList(String columnName)

public List<BigDecimal> getBigDecimalList(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
List<BigDecimal>

getBoolean(int columnIndex)

public boolean getBoolean(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
boolean

getBoolean(String columnName)

public boolean getBoolean(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
boolean

getBooleanArray(int columnIndex)

public boolean[] getBooleanArray(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
boolean[]

getBooleanArray(String columnName)

public boolean[] getBooleanArray(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
boolean[]

getBooleanList(int columnIndex)

public List<Boolean> getBooleanList(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
List<Boolean>

getBooleanList(String columnName)

public List<Boolean> getBooleanList(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
List<Boolean>

getBytes(int columnIndex)

public ByteArray getBytes(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
com.google.cloud.ByteArray

getBytes(String columnName)

public ByteArray getBytes(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
com.google.cloud.ByteArray

getBytesList(int columnIndex)

public List<ByteArray> getBytesList(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
List<com.google.cloud.ByteArray>

getBytesList(String columnName)

public List<ByteArray> getBytesList(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
List<com.google.cloud.ByteArray>

getColumnCount()

public int getColumnCount()
Returns
TypeDescription
int

getColumnIndex(String columnName)

public int getColumnIndex(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
int

getColumnType(int columnIndex)

public Type getColumnType(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
Type

getColumnType(String columnName)

public Type getColumnType(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
Type

getDate(int columnIndex)

public Date getDate(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
com.google.cloud.Date

getDate(String columnName)

public Date getDate(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
com.google.cloud.Date

getDateList(int columnIndex)

public List<Date> getDateList(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
List<com.google.cloud.Date>

getDateList(String columnName)

public List<Date> getDateList(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
List<com.google.cloud.Date>

getDouble(int columnIndex)

public double getDouble(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
double

getDouble(String columnName)

public double getDouble(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
double

getDoubleArray(int columnIndex)

public double[] getDoubleArray(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
double[]

getDoubleArray(String columnName)

public double[] getDoubleArray(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
double[]

getDoubleList(int columnIndex)

public List<Double> getDoubleList(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
List<Double>

getDoubleList(String columnName)

public List<Double> getDoubleList(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
List<Double>

getJson(int columnIndex)

public String getJson(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
String

getJson(String columnName)

public String getJson(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
String

getJsonList(int columnIndex)

public List<String> getJsonList(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
List<String>

getJsonList(String columnName)

public List<String> getJsonList(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
List<String>

getLong(int columnIndex)

public long getLong(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
long

getLong(String columnName)

public long getLong(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
long

getLongArray(int columnIndex)

public long[] getLongArray(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
long[]

getLongArray(String columnName)

public long[] getLongArray(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
long[]

getLongList(int columnIndex)

public List<Long> getLongList(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
List<Long>

getLongList(String columnName)

public List<Long> getLongList(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
List<Long>

getPgJsonb(int columnIndex)

public String getPgJsonb(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
String

getPgJsonb(String columnName)

public String getPgJsonb(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
String

getPgJsonbList(int columnIndex)

public List<String> getPgJsonbList(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
List<String>

getPgJsonbList(String columnName)

public List<String> getPgJsonbList(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
List<String>

getString(int columnIndex)

public String getString(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
String

getString(String columnName)

public String getString(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
String

getStringList(int columnIndex)

public List<String> getStringList(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
List<String>

getStringList(String columnName)

public List<String> getStringList(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
List<String>

getStructList(int columnIndex)

public List<Struct> getStructList(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
List<Struct>

getStructList(String columnName)

public List<Struct> getStructList(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
List<Struct>

getTimestamp(int columnIndex)

public Timestamp getTimestamp(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
com.google.cloud.Timestamp

getTimestamp(String columnName)

public Timestamp getTimestamp(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
com.google.cloud.Timestamp

getTimestampList(int columnIndex)

public List<Timestamp> getTimestampList(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
List<com.google.cloud.Timestamp>

getTimestampList(String columnName)

public List<Timestamp> getTimestampList(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
List<com.google.cloud.Timestamp>

getType()

public Type getType()
Returns
TypeDescription
Type

getValue(int columnIndex)

public Value getValue(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
Value

getValue(String columnName)

public Value getValue(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
Value

isNull(int columnIndex)

public boolean isNull(int columnIndex)
Parameter
NameDescription
columnIndexint
Returns
TypeDescription
boolean

isNull(String columnName)

public boolean isNull(String columnName)
Parameter
NameDescription
columnNameString
Returns
TypeDescription
boolean