Skip to content

Commit 6e5ab1b

Browse files
author
chengyitian
committed
AJ-872: support 'INSTRUMENT'、'MKTDATA';
1 parent 40678a1 commit 6e5ab1b

6 files changed

Lines changed: 185 additions & 3 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
package com.xxdb.data;
2+
3+
import com.xxdb.io.ExtendedDataOutput;
4+
import java.io.IOException;
5+
6+
public abstract class AbstractExtendObj extends AbstractEntity implements ExtendObj {
7+
8+
@Override
9+
public DATA_FORM getDataForm() {
10+
return DATA_FORM.DF_EXTOBJ;
11+
}
12+
13+
@Override
14+
public int rows() {
15+
return 1;
16+
}
17+
18+
@Override
19+
public int columns() {
20+
return 1;
21+
}
22+
23+
@Override
24+
public void write(ExtendedDataOutput output) throws IOException {
25+
throw new UnsupportedOperationException("Not support yet");
26+
}
27+
28+
@Override
29+
public String toString(){
30+
return getString();
31+
}
32+
}

0 commit comments

Comments
 (0)