class CacheReader extends AnyRef
Reads one or more than forward-only stream of result sets by executing OQ commands on cache source.
- Alphabetic
- By Inheritance
- CacheReader
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CacheReader(internalReader: NCCacheReader)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
close: Unit
Closes this resource, relinquishing any underlying resources.
Closes this resource, relinquishing any underlying resources. This method is invoked automatically on objects managed by the
try
-with-resources statement.While this interface method is declared to throw
Exception
, implementers are strongly encouraged to declare concrete implementations of theclose
method to throw more specific exceptions, or to throw no exception at all if the close operation cannot fail.Cases where the close operation may fail require careful attention by implementers. It is strongly advised to relinquish the underlying resources and to internally mark the resource as closed, prior to throwing the exception. The
close
method is unlikely to be invoked more than once and so this ensures that the resources are released in a timely manner. Furthermore it reduces problems that could arise when the resource wraps, or is wrapped, by another resource.Implementers of this interface are also strongly advised to not have the
close
method throw `[[ InterruptedException]]`.This exception interacts with a thread's interrupted status, and runtime misbehavior is likely to occur if an
InterruptedException
is # addSuppressed suppressed.More generally, if it would cause problems for an exception to be suppressed, the
AutoCloseable.close
method should not throw it.Note that unlike the
close close
method ofjava.io.Closeable
, thisclose
method is not required to be idempotent. In other words, calling thisclose
method more than once may have some visible side effect, unlikeCloseable.close
which is required to have no effect if called more than once.However, implementers of this interface are strongly encouraged to make their
close
methods idempotent.- Exceptions thrown
Exception
if this resource cannot be closed
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
getBigDecimal(index: Int): BigDecimal
Gets value of specified index as decimal.
Gets value of specified index as decimal.
- index
Index of column.
- returns
decimal value on specified index.
-
def
getBoolean(index: Int): Boolean
Gets value of specified index as bool.
Gets value of specified index as bool.
- index
Index of column.
- returns
bool value on specified index.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getDate(index: Int): Date
Returns Date at specified column index
Returns Date at specified column index
- index
Index of Column.
- returns
Date at the specified index.
-
def
getDouble(index: Int): Double
Gets value of specified index as double.
Gets value of specified index as double.
- index
Index of column.
- returns
double value on specified index.
-
def
getFieldCount: Int
Gets number of columns.
-
def
getInt(index: Int): Int
Gets value of specified index as integer.
Gets value of specified index as integer.
- index
Index of column.
- returns
integer value on specified index.
-
def
getIsClosed: Boolean
True, if reader is closed else false.
-
def
getLong(index: Int): Long
Gets value of specified index as long.
Gets value of specified index as long.
- index
Index of column.
- returns
long value on specified index.
-
def
getName(index: Int): String
Returns name of specified column index.
Returns name of specified column index.
- index
Index of column.
- returns
Name of column.
-
def
getOrdinal(columnName: String): Int
Returns index of specified column name.
Returns index of specified column name.
- columnName
Name of column.
- returns
Index of column.
-
def
getShort(index: Int): Short
Gets value of specified index as short.
Gets value of specified index as short.
- index
Index of column.
- returns
short value on specified index.
-
def
getString(index: Int): String
Gets value of specified index as string.
Gets value of specified index as string.
- index
Index of column.
- returns
string value on specified column.
-
def
getValue[T](columnName: String, cls: Class[T]): T
Gets value of specified column name.
Gets value of specified column name.
- columnName
Name of column.
- cls
Specifies the class of value obtained from the cache.
- returns
Object value of specified column.
- Annotations
- @throws( ... )
-
def
getValue[T](index: Int, cls: Class[T]): T
Gets value at specified column index.
Gets value at specified column index.
- T
get generic type value at specified column index.
- index
Index of column.
- cls
Specifies the class of value obtained from the cache.
- returns
Object value on specified index.
- Annotations
- @throws( ... )
- Exceptions thrown
-
def
getValues(objects: Array[Any], cls: Class[_]): Int
Populates array of objects with values in current row.
Populates array of objects with values in current row.
- objects
array of objects to be populated.
- cls
Specifies the class of values obtained from the array.
- returns
No of objects copied in specified array.
- Annotations
- @throws( ... )
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
read: Boolean
Advances ICacheReader to next record.
Advances ICacheReader to next record.
- returns
true if there are more rows; else false.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated