Package rasj
Class RasMArrayByte
java.lang.Object
rasj.odmg.RasObject
rasj.RasGMArray
rasj.RasMArrayByte
- All Implemented Interfaces:
RasGlobalDefs
PURPOSE: This class represents a MArray with base type Byte.
-
Field Summary
Fields inherited from class rasj.RasGMArray
currentCell, currentFormat, data, dataSize, domain, objectData, storageLayout, typeLengthFields inherited from class rasj.odmg.RasObject
objectNameFields inherited from interface rasj.global.RasGlobalDefs
ACC_DEN_CAPABILITY_WRONG, ACC_DEN_INC_LOGIN, ACC_DEN_NO_PERMISSION, BASE_DBS_ERROR, CREATED, DATABASE_NOT_DEFINED, DB_CONN_FAILED, DB_NOT_OPEN, DELETED, DIMENSION_MISMATCH, FAST_PRE_SCALE_FACTORS, FAST_PRE_SCALE_SUFFIXES, GETFREESERVER_WAIT_INCREMENT, GETFREESERVER_WAIT_INITIAL, GUESTIDENT_DEFAULT, ILLEGAL_ULONG_VALUE, ILLEGAL_USHORT_VALUE, INDEX_OUT_OF_BOUNDS, INTERNAL_CLIENT_ERROR, INTERNAL_DL_PARSE_EXCEPTION, INVALID_OBJECT_NAME_ERROR, KEYWORD_ATYPE, KEYWORD_BTYPE, KEYWORD_CLASS, KEYWORD_CODE, KEYWORD_COLNO, KEYWORD_DIM1, KEYWORD_DIM2, KEYWORD_ERRNO, KEYWORD_HIGH, KEYWORD_INDEX, KEYWORD_INVNAME, KEYWORD_LINENO, KEYWORD_LOW, KEYWORD_METHOD, KEYWORD_TAB, KEYWORD_TOKEN, KEYWORD_TYPE, KEYWORD_URL, KEYWORD_VAL, MANAGER_BUSY, MANAGER_CONN_FAILED, MAX_GETFREESERVER_ATTEMPTS, MODIFIED, NO_ACTIVE_SERVERS, NO_STATUS, NUM_FAST_PRE_SCALE, RAS_ARRAY, RAS_AUTO_COMPRESSION, RAS_BOOLEAN, RAS_BYTE, RAS_CHAR, RAS_COLLECTION, RAS_COMPLEX1, RAS_DOUBLE, RAS_FLOAT, RAS_HDF, RAS_INT, RAS_JPEG, RAS_LONG, RAS_MARRAY, RAS_MINTERVAL, RAS_OID, RAS_PNG, RAS_POINT, RAS_RGB, RAS_SHORT, RAS_SINTERVAL, RAS_STRING, RAS_STRUCTURE, RAS_TIFF, RAS_ULONG, RAS_UNKNOWN, RAS_USHORT, RAS_ZLIB, RASJ_VERSION, RASMGRPORT_DEFAULT, READ, REQUEST_FORMAT_ERROR, RESULT_IS_NO_CELL, RESULT_IS_NO_INTERVAL, SIZE_OF_BOOLEAN, SIZE_OF_BYTE, SIZE_OF_CHAR, SIZE_OF_DOUBLE, SIZE_OF_FLOAT, SIZE_OF_INTEGER, SIZE_OF_LONG, SIZE_OF_RAS_BOOLEAN, SIZE_OF_RAS_BYTE, SIZE_OF_RAS_CHAR, SIZE_OF_RAS_DOUBLE, SIZE_OF_RAS_FLOAT, SIZE_OF_RAS_LONG, SIZE_OF_RAS_SHORT, SIZE_OF_RAS_ULONG, SIZE_OF_RAS_USHORT, SIZE_OF_SHORT, STREAM_INPUT_OVERFLOW, TRANSIENT, TYPE_INVALID, TYPE_NOT_SUPPORTED, TYPE_UNKNOWN, URL_FORMAT_ERROR, WRITE_TRANS_IN_PROGRESS -
Constructor Summary
ConstructorsConstructorDescriptiondefault constructorcopy constructorRasMArrayByte(RasMInterval initDomain) constructor for uninitialized MDD objects * @param initDomain The initial Domain of the MArrayRasMArrayByte(RasMInterval initDomain, boolean allocateData) constructor for uninitialized MDD objectsRasMArrayByte(RasMInterval initDomain, RasStorageLayout stl) Constructor for uninitialized MDD objects with Storage LayoutRasMArrayByte(RasMInterval initDomain, RasStorageLayout stl, boolean allocateData) Constructor for uninitialized MDD objects with Storage Layout -
Method Summary
Methods inherited from class rasj.RasGMArray
getArray, getArraySize, getBaseTypeSchema, getCurrentFormat, getStorageLayout, getTypeLength, intersectionWith, setArray, setArraySize, setCurrentFormat, setSpatialDomain, setStorageLayout, setTo, setTypeLength, spatialDomain, toString, toTestStringMethods inherited from class rasj.odmg.RasObject
getLock, getObjectName, getObjectType, getObjectTypeName, getOID, getStatus, getTypeSchema, getTypeStructure, rasDeactivate, setLock, setObjectName, setObjectType, setObjectTypeName, setOID, setStatus, setTypeStructure
-
Constructor Details
-
RasMArrayByte
public RasMArrayByte()default constructor -
RasMArrayByte
constructor for uninitialized MDD objects * @param initDomain The initial Domain of the MArray -
RasMArrayByte
constructor for uninitialized MDD objects- Parameters:
initDomain- The initial Domain of the MArrayallocateData- control whether to allocate the data or not
-
RasMArrayByte
Constructor for uninitialized MDD objects with Storage Layout- Parameters:
initDomain- The initial Domain of the MArrayRasStorageLayout- The storage layout to be used
-
RasMArrayByte
Constructor for uninitialized MDD objects with Storage Layout- Parameters:
initDomain- The initial Domain of the MArrayallocateData- control whether to allocate the data or notRasStorageLayout- The storage layout to be used
-
RasMArrayByte
copy constructor- Parameters:
obj- a copy of this object will be created
-
-
Method Details
-
getCell
public byte[] getCell(RasPoint point) throws RasDimensionMismatchException, RasIndexOutOfBoundsException subscript operator for read access of a cell. The cell value is returned as a byte[1] array.- Overrides:
getCellin classRasGMArray- Parameters:
point- the coordinates of the requested cell- Returns:
- a byte array representing the value of the requested cell.
- Throws:
RasDimensionMismatchExceptionRasIndexOutOfBoundsException
-
getByte
public byte getByte(RasPoint point) throws RasDimensionMismatchException, RasIndexOutOfBoundsException subscript operator for read access of a cell. The cell value is returned as a Byte.
-