类 CRUD
java.lang.Object
org.fisco.bcos.sdk.contract.Contract
org.fisco.bcos.sdk.contract.precompiled.crud.CRUD
public class CRUD extends Contract
-
嵌套类概要
从类继承的嵌套类/接口 org.fisco.bcos.sdk.contract.Contract
Contract.EventValuesWithLog
-
字段概要
字段 修饰符和类型 字段 说明 static java.lang.String
ABI
static java.lang.String[]
ABI_ARRAY
static java.lang.String
BINARY
static java.lang.String[]
BINARY_ARRAY
static java.lang.String
FUNC_DESC
static java.lang.String
FUNC_INSERT
static java.lang.String
FUNC_REMOVE
static java.lang.String
FUNC_SELECT
static java.lang.String
FUNC_UPDATE
static java.lang.String
SM_BINARY
static java.lang.String[]
SM_BINARY_ARRAY
从类继承的字段 org.fisco.bcos.sdk.contract.Contract
client, contractAddress, contractBinary, credential, cryptoSuite, deployReceipt, eventEncoder, FUNC_DEPLOY, functionEncoder, LATEST_BLOCK, logger, transactionProcessor
-
构造器概要
构造器 限定符 构造器 说明 protected
CRUD(java.lang.String contractAddress, Client client, CryptoKeyPair credential)
-
方法概要
修饰符和类型 方法 说明 static CRUD
deploy(Client client, CryptoKeyPair credential)
Tuple2<java.lang.String,java.lang.String>
desc(java.lang.String tableName)
static java.lang.String
getBinary(CryptoSuite cryptoSuite)
Tuple4<java.lang.String,java.lang.String,java.lang.String,java.lang.String>
getInsertInput(TransactionReceipt transactionReceipt)
Tuple1<java.math.BigInteger>
getInsertOutput(TransactionReceipt transactionReceipt)
Tuple4<java.lang.String,java.lang.String,java.lang.String,java.lang.String>
getRemoveInput(TransactionReceipt transactionReceipt)
Tuple1<java.math.BigInteger>
getRemoveOutput(TransactionReceipt transactionReceipt)
java.lang.String
getSignedTransactionForInsert(java.lang.String tableName, java.lang.String key, java.lang.String entry, java.lang.String param3)
java.lang.String
getSignedTransactionForRemove(java.lang.String tableName, java.lang.String key, java.lang.String condition, java.lang.String param3)
java.lang.String
getSignedTransactionForUpdate(java.lang.String tableName, java.lang.String key, java.lang.String entry, java.lang.String condition, java.lang.String param4)
Tuple5<java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String>
getUpdateInput(TransactionReceipt transactionReceipt)
Tuple1<java.math.BigInteger>
getUpdateOutput(TransactionReceipt transactionReceipt)
TransactionReceipt
insert(java.lang.String tableName, java.lang.String key, java.lang.String entry, java.lang.String param3)
void
insert(java.lang.String tableName, java.lang.String key, java.lang.String entry, java.lang.String param3, TransactionCallback callback)
static CRUD
load(java.lang.String contractAddress, Client client, CryptoKeyPair credential)
TransactionReceipt
remove(java.lang.String tableName, java.lang.String key, java.lang.String condition, java.lang.String param3)
void
remove(java.lang.String tableName, java.lang.String key, java.lang.String condition, java.lang.String param3, TransactionCallback callback)
java.lang.String
select(java.lang.String tableName, java.lang.String key, java.lang.String condition, java.lang.String param3)
TransactionReceipt
update(java.lang.String tableName, java.lang.String key, java.lang.String entry, java.lang.String condition, java.lang.String param4)
void
update(java.lang.String tableName, java.lang.String key, java.lang.String entry, java.lang.String condition, java.lang.String param4, TransactionCallback callback)
从类继承的方法 org.fisco.bcos.sdk.contract.Contract
asyncExecuteTransaction, asyncExecuteTransaction, convertToNative, createSignedTransaction, createSignedTransaction, deploy, deploy, executeCallWithMultipleValueReturn, executeCallWithSingleValueReturn, executeCallWithSingleValueReturn, executeTransaction, executeTransaction, extractEventParameters, extractEventParameters, extractEventParametersWithLog, extractEventParametersWithLog, extractEventParametersWithLog, getContractAddress, getCurrentExternalAccountAddress, getDeployReceipt, getTransactionProcessor, setContractAddress, setDeployReceipt, staticExtractEventParameters, subscribeEvent, subscribeEvent, subscribeEvent
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
字段详细资料
-
BINARY_ARRAY
public static final java.lang.String[] BINARY_ARRAY -
BINARY
public static final java.lang.String BINARY -
SM_BINARY_ARRAY
public static final java.lang.String[] SM_BINARY_ARRAY -
SM_BINARY
public static final java.lang.String SM_BINARY -
ABI_ARRAY
public static final java.lang.String[] ABI_ARRAY -
ABI
public static final java.lang.String ABI -
FUNC_UPDATE
public static final java.lang.String FUNC_UPDATE- 另请参阅:
- 常量字段值
-
FUNC_DESC
public static final java.lang.String FUNC_DESC- 另请参阅:
- 常量字段值
-
FUNC_SELECT
public static final java.lang.String FUNC_SELECT- 另请参阅:
- 常量字段值
-
FUNC_INSERT
public static final java.lang.String FUNC_INSERT- 另请参阅:
- 常量字段值
-
FUNC_REMOVE
public static final java.lang.String FUNC_REMOVE- 另请参阅:
- 常量字段值
-
-
构造器详细资料
-
CRUD
-
-
方法详细资料
-
getBinary
-
update
public TransactionReceipt update(java.lang.String tableName, java.lang.String key, java.lang.String entry, java.lang.String condition, java.lang.String param4) -
update
public void update(java.lang.String tableName, java.lang.String key, java.lang.String entry, java.lang.String condition, java.lang.String param4, TransactionCallback callback) -
getSignedTransactionForUpdate
public java.lang.String getSignedTransactionForUpdate(java.lang.String tableName, java.lang.String key, java.lang.String entry, java.lang.String condition, java.lang.String param4) -
getUpdateInput
public Tuple5<java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String> getUpdateInput(TransactionReceipt transactionReceipt) -
getUpdateOutput
-
desc
public Tuple2<java.lang.String,java.lang.String> desc(java.lang.String tableName) throws ContractException -
select
public java.lang.String select(java.lang.String tableName, java.lang.String key, java.lang.String condition, java.lang.String param3) throws ContractException -
insert
public TransactionReceipt insert(java.lang.String tableName, java.lang.String key, java.lang.String entry, java.lang.String param3) -
insert
public void insert(java.lang.String tableName, java.lang.String key, java.lang.String entry, java.lang.String param3, TransactionCallback callback) -
getSignedTransactionForInsert
public java.lang.String getSignedTransactionForInsert(java.lang.String tableName, java.lang.String key, java.lang.String entry, java.lang.String param3) -
getInsertInput
public Tuple4<java.lang.String,java.lang.String,java.lang.String,java.lang.String> getInsertInput(TransactionReceipt transactionReceipt) -
getInsertOutput
-
remove
public TransactionReceipt remove(java.lang.String tableName, java.lang.String key, java.lang.String condition, java.lang.String param3) -
remove
public void remove(java.lang.String tableName, java.lang.String key, java.lang.String condition, java.lang.String param3, TransactionCallback callback) -
getSignedTransactionForRemove
public java.lang.String getSignedTransactionForRemove(java.lang.String tableName, java.lang.String key, java.lang.String condition, java.lang.String param3) -
getRemoveInput
public Tuple4<java.lang.String,java.lang.String,java.lang.String,java.lang.String> getRemoveInput(TransactionReceipt transactionReceipt) -
getRemoveOutput
-
load
-
deploy
-