link start!
@@ -0,0 +1,11 @@
|
||||
package com.tridium.history;
|
||||
|
||||
import com.tridium.history.db.TableHandle;
|
||||
|
||||
public interface NHistory {
|
||||
void initOpen();
|
||||
|
||||
boolean isOpen();
|
||||
|
||||
void setTable(TableHandle tableHandle);
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.tridium.history.collection;
|
||||
|
||||
import javax.baja.collection.Column;
|
||||
import javax.baja.sys.BFacets;
|
||||
import javax.baja.sys.BObject;
|
||||
import javax.baja.sys.Context;
|
||||
|
||||
public interface HistoryColumn extends Column {
|
||||
BObject get(BObject bObject);
|
||||
|
||||
boolean getBoolean(BObject bObject);
|
||||
|
||||
String getDefaultDisplayName(Context context);
|
||||
|
||||
double getDouble(BObject bObject);
|
||||
|
||||
BFacets getFacets(BObject bObject);
|
||||
|
||||
int getFlags(BObject bObject);
|
||||
|
||||
float getFloat(BObject bObject);
|
||||
|
||||
int getInt(BObject bObject);
|
||||
|
||||
long getLong(BObject bObject);
|
||||
|
||||
String getString(BObject bObject);
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.tridium.history.io;
|
||||
|
||||
import java.io.DataInput;
|
||||
import java.io.DataOutput;
|
||||
import java.io.IOException;
|
||||
|
||||
public interface RandomAccess extends DataInput, DataOutput {
|
||||
void flush() throws IOException;
|
||||
|
||||
long length() throws IOException;
|
||||
|
||||
long pos() throws IOException;
|
||||
|
||||
void seek(long j) throws IOException;
|
||||
|
||||
void setLength(long j) throws IOException;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.tridium.history.rollup;
|
||||
|
||||
import javax.baja.history.BHistoryRecord;
|
||||
import javax.baja.sys.BAbsTime;
|
||||
|
||||
public interface RollupValue {
|
||||
void addElement(BHistoryRecord bHistoryRecord);
|
||||
|
||||
BHistoryRecord getValue(BAbsTime bAbsTime, BAbsTime bAbsTime2);
|
||||
|
||||
void reset();
|
||||
}
|
||||
|
After Width: | Height: | Size: 259 B |
|
After Width: | Height: | Size: 950 B |
|
After Width: | Height: | Size: 945 B |
|
After Width: | Height: | Size: 241 B |
|
After Width: | Height: | Size: 243 B |
|
After Width: | Height: | Size: 152 B |
|
After Width: | Height: | Size: 958 B |