All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scudata.dw.IBlockStorage Maven / Gradle / Ivy

Go to download

SPL(Structured Process Language) A programming language specially for structured data computing.

The newest version!
package com.scudata.dw;

import java.io.IOException;

import com.scudata.dm.IResource;

public interface IBlockStorage extends IResource {
	static final int POS_SIZE = 5; // λ????5?ֽڵ???????ʾ
	
	int getBlockSize(); // ȡ?????С
	void loadBlock(long pos, byte []block) throws IOException; // װ??????
	void saveBlock(long pos, byte []block) throws IOException; // ????????
	void saveBlock(long pos, byte []block, int off, int len) throws IOException;
	long applyNewBlock() throws IOException; // ??????????
	StructManager getStructManager();
	boolean isCompress(); // ?Ƿ?ѹ???洢
	boolean isPureFormat(); // ?Ƿ??д洢
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy