Interface StartTestInput
- All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<StartTestInput>,org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.DataObject,org.opendaylight.yangtools.binding.RpcInput
@Generated("mdsal-binding-generator")
public interface StartTestInput
extends org.opendaylight.yangtools.binding.RpcInput, org.opendaylight.yangtools.binding.Augmentable<StartTestInput>
This class represents the following YANG schema fragment defined in module dsbenchmark
input input {
leaf operation {
type enumeration {
enum PUT {
value 1;
}
enum MERGE {
value 2;
}
enum DELETE {
value 3;
}
enum READ {
value 4;
}
}
}
leaf data-format {
type enumeration {
enum BINDING-AWARE {
value 1;
}
enum BINDING-INDEPENDENT {
value 2;
}
}
}
leaf transaction-type {
type enumeration {
enum SIMPLE-TX {
value 1;
}
enum TX-CHAINING {
value 2;
}
}
}
leaf data-store {
type enumeration {
enum CONFIG {
value 1;
}
enum OPERATIONAL {
value 2;
}
enum BOTH {
value 3;
}
}
}
leaf outerElements {
type uint32;
default 100000;
}
leaf innerElements {
type uint32;
default 1;
}
leaf putsPerTx {
type uint32;
default 1;
}
leaf listeners {
type uint32;
default 0;
}
}
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThis class represents the following YANG schema fragment defined in module dsbenchmarkstatic enumThis class represents the following YANG schema fragment defined in module dsbenchmarkstatic enumThis class represents the following YANG schema fragment defined in module dsbenchmarkstatic enumThis class represents the following YANG schema fragment defined in module dsbenchmark -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbindingEquals(@NonNull StartTestInput thisObj, Object obj) Default implementation ofObject.equals(Object)contract for this interface.static intbindingHashCode(@NonNull StartTestInput obj) Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@NonNull StartTestInput obj) Default implementation ofObject.toString()contract for this interface.Return dataFormat, ornullif it is not present.Return dataStore, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return innerElements, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return listeners, ornullif it is not present.Return operation, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return outerElements, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return putsPerTx, ornullif it is not present.Return transactionType, ornullif it is not present.default Class<StartTestInput> default @NonNull StartTestInput.DataFormatReturn dataFormat, guaranteed to be non-null.default @NonNull StartTestInput.DataStoreReturn dataStore, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return innerElements, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return listeners, guaranteed to be non-null.default @NonNull StartTestInput.OperationReturn operation, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return outerElements, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return putsPerTx, guaranteed to be non-null.default @NonNull StartTestInput.TransactionTypeReturn transactionType, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.DataObject- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.RpcInput
-
bindingHashCode
Default implementation ofObject.hashCode()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException- ifobjisnull
-
bindingEquals
Default implementation ofObject.equals(Object)contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj- Object acting as the receiver of equals invocationobj- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException- ifthisObjisnull
-
bindingToString
Default implementation ofObject.toString()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj- Object for which to generate toString() result.- Returns:
Stringvalue of data modeled by this interface.- Throws:
NullPointerException- ifobjisnull
-
getOperation
StartTestInput.Operation getOperation()Return operation, ornullif it is not present.Type of the transaction operation to benchmark- Returns:
Operationoperation, ornullif it is not present.
-
requireOperation
Return operation, guaranteed to be non-null.Type of the transaction operation to benchmark- Returns:
Operationoperation, guaranteed to be non-null.- Throws:
NoSuchElementException- if operation is not present
-
getDataFormat
StartTestInput.DataFormat getDataFormat()Return dataFormat, ornullif it is not present.Data format:-binding-aware or binding-independent- Returns:
DataFormatdataFormat, ornullif it is not present.
-
requireDataFormat
Return dataFormat, guaranteed to be non-null.Data format:-binding-aware or binding-independent- Returns:
DataFormatdataFormat, guaranteed to be non-null.- Throws:
NoSuchElementException- if dataFormat is not present
-
getTransactionType
StartTestInput.TransactionType getTransactionType()Return transactionType, ornullif it is not present.Data format:-binding-aware or binding-independent- Returns:
TransactionTypetransactionType, ornullif it is not present.
-
requireTransactionType
Return transactionType, guaranteed to be non-null.Data format:-binding-aware or binding-independent- Returns:
TransactionTypetransactionType, guaranteed to be non-null.- Throws:
NoSuchElementException- if transactionType is not present
-
getDataStore
StartTestInput.DataStore getDataStore()Return dataStore, ornullif it is not present.- Returns:
DataStoredataStore, ornullif it is not present.
-
requireDataStore
Return dataStore, guaranteed to be non-null.- Returns:
DataStoredataStore, guaranteed to be non-null.- Throws:
NoSuchElementException- if dataStore is not present
-
getOuterElements
org.opendaylight.yangtools.yang.common.Uint32 getOuterElements()Return outerElements, ornullif it is not present.Number of elements in the OuterList- Returns:
Uint32outerElements, ornullif it is not present.
-
requireOuterElements
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireOuterElements()Return outerElements, guaranteed to be non-null.Number of elements in the OuterList- Returns:
Uint32outerElements, guaranteed to be non-null.- Throws:
NoSuchElementException- if outerElements is not present
-
getInnerElements
org.opendaylight.yangtools.yang.common.Uint32 getInnerElements()Return innerElements, ornullif it is not present.Number of elements in the InnerList- Returns:
Uint32innerElements, ornullif it is not present.
-
requireInnerElements
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireInnerElements()Return innerElements, guaranteed to be non-null.Number of elements in the InnerList- Returns:
Uint32innerElements, guaranteed to be non-null.- Throws:
NoSuchElementException- if innerElements is not present
-
getPutsPerTx
org.opendaylight.yangtools.yang.common.Uint32 getPutsPerTx()Return putsPerTx, ornullif it is not present.Number of write operations (PUT, MERGE, or DELETE) per transaction submit- Returns:
Uint32putsPerTx, ornullif it is not present.
-
requirePutsPerTx
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requirePutsPerTx()Return putsPerTx, guaranteed to be non-null.Number of write operations (PUT, MERGE, or DELETE) per transaction submit- Returns:
Uint32putsPerTx, guaranteed to be non-null.- Throws:
NoSuchElementException- if putsPerTx is not present
-
getListeners
org.opendaylight.yangtools.yang.common.Uint32 getListeners()Return listeners, ornullif it is not present.Number of data tree change listeners listening for changes on the test exec tree.- Returns:
Uint32listeners, ornullif it is not present.
-
requireListeners
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireListeners()Return listeners, guaranteed to be non-null.Number of data tree change listeners listening for changes on the test exec tree.- Returns:
Uint32listeners, guaranteed to be non-null.- Throws:
NoSuchElementException- if listeners is not present
-