org.eyedb
Class Attribute
java.lang.Object
org.eyedb.Attribute
public class Attribute
- extends java.lang.Object
Constructor Summary |
Attribute(Attribute item,
int num)
|
Attribute(Class cls,
Class class_owner,
java.lang.String name,
int num,
boolean isref)
|
Attribute(Class cls,
Class class_owner,
java.lang.String name,
int num,
boolean isref,
int ndims,
int[] dims)
|
Attribute(Class cls,
Class class_owner,
java.lang.String name,
int num,
int dim)
|
Attribute(Database db,
Coder coder,
int num)
|
Attribute(int idx_mode,
Class cls,
Class class_owner,
java.lang.String name,
int num,
boolean isref,
int ndims,
int[] dims)
|
Method Summary |
boolean |
compare(Attribute item)
|
Class |
getClassOwner()
|
Class |
getFClass()
|
AttrInverse |
getInverse()
|
java.lang.String |
getName()
|
int |
getNum()
|
Oid |
getOid(Object o)
|
Oid |
getOid(Object o,
int which)
|
Oid[] |
getOid(Object o,
int nb,
int from)
|
byte[] |
getRawValue(Object o)
|
int |
getSize(Object o)
|
java.lang.String |
getStringValue(Object o)
|
TypeModifier |
getTypeModifier()
|
Value |
getValue(Object o)
|
Value |
getValue(Object o,
boolean autoload)
|
Value |
getValue(Object o,
int which)
|
Value |
getValue(Object o,
int which,
boolean autoload)
|
Value[] |
getValue(Object o,
int nb,
int from)
|
Value[] |
getValue(Object o,
int nb,
int from,
boolean autoload)
|
boolean |
hasInverse()
|
boolean |
isIndirect()
|
boolean |
isNative()
|
boolean |
isVarDim()
|
static Attribute |
make(Database db,
Coder coder,
int num)
|
void |
realize(Database db,
Object o,
Oid clsoid,
Oid objoid,
org.eyedb.AttrIdxContext idx_ctx,
RecMode rcm)
|
void |
setOid(Object o,
Oid oid)
|
void |
setOid(Object o,
Oid[] oid,
int nb,
int from)
|
void |
setOid(Object o,
Oid oid,
int which)
|
void |
setRawValue(Object o,
byte[] b)
|
void |
setSize(Object o,
int size)
|
void |
setStringValue(Object o,
java.lang.String s)
|
void |
setValue(Object o,
Value value)
|
void |
setValue(Object o,
Value[] value,
int nb,
int from)
|
void |
setValue(Object o,
Value value,
int which)
|
void |
trace()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexDefaultMode
public static final int IndexDefaultMode
- See Also:
- Constant Field Values
IndexItemMode
public static final int IndexItemMode
- See Also:
- Constant Field Values
IndexCompMode
public static final int IndexCompMode
- See Also:
- Constant Field Values
IndexBTree
public static final int IndexBTree
- See Also:
- Constant Field Values
IndexHash
public static final int IndexHash
- See Also:
- Constant Field Values
IndexBTreeItemMode
public static final int IndexBTreeItemMode
- See Also:
- Constant Field Values
IndexBTreeCompMode
public static final int IndexBTreeCompMode
- See Also:
- Constant Field Values
IndexHashItemMode
public static final int IndexHashItemMode
- See Also:
- Constant Field Values
IndexHashCompMode
public static final int IndexHashCompMode
- See Also:
- Constant Field Values
Attribute
public Attribute(Class cls,
Class class_owner,
java.lang.String name,
int num,
boolean isref)
Attribute
public Attribute(Class cls,
Class class_owner,
java.lang.String name,
int num,
boolean isref,
int ndims,
int[] dims)
Attribute
public Attribute(Attribute item,
int num)
Attribute
public Attribute(int idx_mode,
Class cls,
Class class_owner,
java.lang.String name,
int num,
boolean isref,
int ndims,
int[] dims)
Attribute
public Attribute(Class cls,
Class class_owner,
java.lang.String name,
int num,
int dim)
Attribute
public Attribute(Database db,
Coder coder,
int num)
throws Exception
- Throws:
Exception
compare
public boolean compare(Attribute item)
getName
public java.lang.String getName()
hasInverse
public boolean hasInverse()
getInverse
public AttrInverse getInverse()
getTypeModifier
public TypeModifier getTypeModifier()
getFClass
public Class getFClass()
getClassOwner
public Class getClassOwner()
getNum
public int getNum()
realize
public void realize(Database db,
Object o,
Oid clsoid,
Oid objoid,
org.eyedb.AttrIdxContext idx_ctx,
RecMode rcm)
throws Exception
- Throws:
Exception
trace
public void trace()
make
public static Attribute make(Database db,
Coder coder,
int num)
throws Exception
- Throws:
Exception
isIndirect
public boolean isIndirect()
isVarDim
public boolean isVarDim()
isNative
public boolean isNative()
getOid
public Oid getOid(Object o)
getOid
public Oid getOid(Object o,
int which)
getOid
public Oid[] getOid(Object o,
int nb,
int from)
setOid
public void setOid(Object o,
Oid oid)
setOid
public void setOid(Object o,
Oid oid,
int which)
setOid
public void setOid(Object o,
Oid[] oid,
int nb,
int from)
getValue
public Value getValue(Object o)
throws Exception
- Throws:
Exception
getValue
public Value getValue(Object o,
int which)
throws Exception
- Throws:
Exception
getValue
public Value[] getValue(Object o,
int nb,
int from)
throws Exception
- Throws:
Exception
getValue
public Value getValue(Object o,
boolean autoload)
throws Exception
- Throws:
Exception
getValue
public Value getValue(Object o,
int which,
boolean autoload)
throws Exception
- Throws:
Exception
getValue
public Value[] getValue(Object o,
int nb,
int from,
boolean autoload)
throws Exception
- Throws:
Exception
getStringValue
public java.lang.String getStringValue(Object o)
throws Exception
- Throws:
Exception
getRawValue
public byte[] getRawValue(Object o)
throws Exception
- Throws:
Exception
setValue
public void setValue(Object o,
Value value)
throws Exception
- Throws:
Exception
setValue
public void setValue(Object o,
Value value,
int which)
throws Exception
- Throws:
Exception
setValue
public void setValue(Object o,
Value[] value,
int nb,
int from)
throws Exception
- Throws:
Exception
getSize
public int getSize(Object o)
setSize
public void setSize(Object o,
int size)
throws Exception
- Throws:
Exception
setStringValue
public void setStringValue(Object o,
java.lang.String s)
throws Exception
- Throws:
Exception
setRawValue
public void setRawValue(Object o,
byte[] b)
throws Exception
- Throws:
Exception