Package ru.curs.celesta.syscursors
Class GrainsCursor
java.lang.Object
ru.curs.celesta.dbutils.CsqlBasicDataAccessor<CallContext>
ru.curs.celesta.dbutils.BasicDataAccessor
ru.curs.celesta.dbutils.BasicCursor
ru.curs.celesta.dbutils.Cursor
ru.curs.celesta.syscursors.GrainsCursor
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterable<GrainsCursor>,InFilterSupport,ISchemaCursor
@Generated(value="ru.curs.celesta.plugin.maven.CursorGenerator",
date="2026-08-11T15:05:56.377741663")
public class GrainsCursor
extends Cursor
implements Iterable<GrainsCursor>, ISchemaCursor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGrainsCursor(CallContext context) GrainsCursor(CallContext context, ColumnMeta<?>... columns) -
Method Summary
Modifier and TypeMethodDescriptionvoid_clearBuffer(boolean withKeys) Object[]_getBufferCopy(CallContext context, Collection<? extends ColumnMeta<?>> fields) voidCopy field values from a cursor of the same type.voidReturns checksum of the schema cursor.getId()Returns ID of the schema cursor.Returns 'last modified' date of the schema cursor.Returns length of the schema cursor.getState()Returns state of the schema cursor.Returns version of the schema cursor.iterator()static voidonPostDelete(ICelesta celesta, Consumer<? super GrainsCursor> cursorConsumer) static voidonPostInsert(ICelesta celesta, Consumer<? super GrainsCursor> cursorConsumer) static voidonPostUpdate(ICelesta celesta, Consumer<? super GrainsCursor> cursorConsumer) static voidonPreDelete(ICelesta celesta, Consumer<? super GrainsCursor> cursorConsumer) static voidonPreInsert(ICelesta celesta, Consumer<? super GrainsCursor> cursorConsumer) static voidonPreUpdate(ICelesta celesta, Consumer<? super GrainsCursor> cursorConsumer) setChecksum(String checksum) Sets checksum to the schema cursor.Sets ID to the schema cursor.setLastmodified(Date lastmodified) Sets 'last modified' date to the schema cursor.Sets length to the schema cursor.setMessage(String message) Sets message to the schema cursor.Sets state to the schema cursor.setVersion(String version) Sets version to the schema cursor.booleanMethods inherited from class ru.curs.celesta.dbutils.Cursor
clear, create, create, delete, deleteAll, getByValuesArray, getCurrentKeyValues, getIn, getMaxStrLen, getMaxStrLen, getRecversion, getXRec, init, insert, meta, setIn, setRecversion, tryGetByValuesArray, tryGetCurrent, tryInsert, tryUpdate, updateMethods inherited from class ru.curs.celesta.dbutils.BasicCursor
asCSVLine, canDelete, canInsert, canModify, clearBuffer, copyFiltersFrom, copyOrderFrom, count, descOrders, findSet, first, getBufferCopy, getComplexFilter, getCurrentValues, getOrderBy, getValue, isEquivalent, last, limit, navigate, navigate, next, nextInSet, orderBy, orderBy, orderBy, orderByColumnNames, position, previous, reset, setComplexFilter, setFilter, setFilter, setRange, setRange, setRange, setRange, setRange, setRange, setValue, tryFindSet, tryFirst, tryLastMethods inherited from class ru.curs.celesta.dbutils.BasicDataAccessor
canReadMethods inherited from class ru.curs.celesta.dbutils.CsqlBasicDataAccessor
callContext, close, isClosedMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.curs.celesta.syscursors.ISchemaCursor
callContext, init, insert, nextInSet, updateMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
TABLE_NAME
- See Also:
-
COLUMNS
-
-
Constructor Details
-
GrainsCursor
-
GrainsCursor
-
-
Method Details
-
getId
Description copied from interface:ISchemaCursorReturns ID of the schema cursor.- Specified by:
getIdin interfaceISchemaCursor- Returns:
-
setId
Description copied from interface:ISchemaCursorSets ID to the schema cursor.- Specified by:
setIdin interfaceISchemaCursor- Parameters:
id- ID
-
getVersion
Description copied from interface:ISchemaCursorReturns version of the schema cursor.- Specified by:
getVersionin interfaceISchemaCursor- Returns:
-
setVersion
Description copied from interface:ISchemaCursorSets version to the schema cursor.- Specified by:
setVersionin interfaceISchemaCursor- Parameters:
version- version
-
getLength
Description copied from interface:ISchemaCursorReturns length of the schema cursor.- Specified by:
getLengthin interfaceISchemaCursor- Returns:
-
setLength
Description copied from interface:ISchemaCursorSets length to the schema cursor.- Specified by:
setLengthin interfaceISchemaCursor- Parameters:
length- length
-
getChecksum
Description copied from interface:ISchemaCursorReturns checksum of the schema cursor.- Specified by:
getChecksumin interfaceISchemaCursor- Returns:
-
setChecksum
Description copied from interface:ISchemaCursorSets checksum to the schema cursor.- Specified by:
setChecksumin interfaceISchemaCursor- Parameters:
checksum- checksum
-
getState
Description copied from interface:ISchemaCursorReturns state of the schema cursor.- Specified by:
getStatein interfaceISchemaCursor- Returns:
-
setState
Description copied from interface:ISchemaCursorSets state to the schema cursor.- Specified by:
setStatein interfaceISchemaCursor- Parameters:
state- state
-
getLastmodified
Description copied from interface:ISchemaCursorReturns 'last modified' date of the schema cursor.- Specified by:
getLastmodifiedin interfaceISchemaCursor- Returns:
-
setLastmodified
Description copied from interface:ISchemaCursorSets 'last modified' date to the schema cursor.- Specified by:
setLastmodifiedin interfaceISchemaCursor- Parameters:
lastmodified- 'last modified' date
-
getMessage
-
setMessage
Description copied from interface:ISchemaCursorSets message to the schema cursor.- Specified by:
setMessagein interfaceISchemaCursor- Parameters:
message- message
-
tryGet
-
get
- Specified by:
getin interfaceISchemaCursor
-
_clearBuffer
public void _clearBuffer(boolean withKeys) -
_currentValues
-
onPreDelete
-
onPostDelete
-
onPreInsert
-
onPostInsert
-
onPreUpdate
-
onPostUpdate
-
_getBufferCopy
-
copyFieldsFrom
Description copied from class:BasicCursorCopy field values from a cursor of the same type.- Specified by:
copyFieldsFromin classBasicCursor- Parameters:
c- cursor that field values have to be copied from
-
iterator
- Specified by:
iteratorin interfaceIterable<GrainsCursor>
-