public class DAType extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DAType.MemRef |
| Modifier and Type | Field and Description |
|---|---|
static DAType |
MMAP
Memory mapped DA object.
|
static DAType |
MMAP_RO
Read-only memory mapped DA object.
|
static DAType |
RAM
The DA object is hold entirely in-memory.
|
static DAType |
RAM_INT
Optimized RAM DA type for integer access.
|
static DAType |
RAM_INT_STORE
Optimized RAM_STORE DA type for integer access.
|
static DAType |
RAM_STORE
The DA object is hold entirely in-memory.
|
| Constructor and Description |
|---|
DAType(DAType.MemRef memRef,
boolean storing,
boolean integ,
boolean allowWrites) |
DAType(DAType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DAType |
fromString(String dataAccess) |
static DAType |
getPreferredInt(DAType type)
This method returns RAM_INT if the specified type is in-memory.
|
int |
hashCode() |
boolean |
isAllowWrites() |
boolean |
isInMemory() |
boolean |
isInteg()
Optimized for integer values? default is false
|
boolean |
isMMap() |
boolean |
isStoring()
Temporary data or store (with loading and storing)? default is false
|
String |
toString() |
public static final DAType RAM
public static final DAType RAM_INT
public static final DAType RAM_STORE
public static final DAType RAM_INT_STORE
public static final DAType MMAP
public static final DAType MMAP_RO
public DAType(DAType type)
public DAType(DAType.MemRef memRef, boolean storing, boolean integ, boolean allowWrites)
public static DAType getPreferredInt(DAType type)
public boolean isAllowWrites()
public boolean isInMemory()
public boolean isMMap()
public boolean isStoring()
public boolean isInteg()
Copyright © 2012–2020. All rights reserved.