Package org.hyperledger.fabric.sdk
Class QueryByChaincodeRequest
- java.lang.Object
-
- org.hyperledger.fabric.sdk.TransactionRequest
-
- org.hyperledger.fabric.sdk.QueryByChaincodeRequest
-
public class QueryByChaincodeRequest extends TransactionRequest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hyperledger.fabric.sdk.TransactionRequest
TransactionRequest.Type
-
-
Field Summary
-
Fields inherited from class org.hyperledger.fabric.sdk.TransactionRequest
argBytes, args, chaincodeCollectionConfiguration, chaincodeLanguage, chaincodeName, chaincodePath, chaincodeVersion, fcn, proposalWaitTime, transientMap
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryByChaincodeRequest
newInstance(User userContext)
void
setTransientMap(java.util.Map<java.lang.String,byte[]> transientMap)
Transient data added to the proposal that is not added to the ledger.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.hyperledger.fabric.sdk.TransactionRequest
doVerify, getArgBytes, getArgs, getChaincodeCollectionConfiguration, getChaincodeEndorsementPolicy, getChaincodeID, getChaincodeLanguage, getChaincodeName, getChaincodePath, getChaincodeVersion, getFcn, getProposalWaitTime, getTransientMap, isSubmitted, noChannelID, setArgBytes, setArgBytes, setArgs, setArgs, setArgs, setChaincodeCollectionConfiguration, setChaincodeEndorsementPolicy, setChaincodeID, setChaincodeLanguage, setChaincodeName, setChaincodePath, setChaincodeVersion, setFcn, setProposalWaitTime, setUserContext
-
-
-
-
Method Detail
-
newInstance
public static QueryByChaincodeRequest newInstance(User userContext)
-
setTransientMap
public void setTransientMap(java.util.Map<java.lang.String,byte[]> transientMap) throws InvalidArgumentException
Transient data added to the proposal that is not added to the ledger.- Parameters:
transientMap
- Map of strings to bytes that's added to the proposal- Throws:
InvalidArgumentException
- if the argument is null.
-
-