📄 schema.java
字号:
package recordmanagement;
public interface Schema {
static final int DATE_OFFSET = 8;
static final int TUPLE_OFFSET_VALUE_OFFSET = 2;
public String getSchemaName();
public byte getAttributeSize();
public byte getKeyAttribute();
short tupleCapacity();
short tupleLength();
short firstPermittedTupleOffset();
/**
* 根据属性名得到属性的序号
* @param attriName
* @return -1 属性不存在
*/
public byte getAttributeIDByName(String attriName);
/**
* 对每个字段
*/
public String getAttributeName(byte order);
public AttributeType getAttributeType(byte order);
public Index getAttributeIndex(byte order);
short getAttributeOffset(byte order);
short getAttributeByteLength(byte order);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -