Interface NetconfDOMFieldsReadOperations
- All Known Subinterfaces:
NetconfDOMFieldsReadTransaction,NetconfDOMFieldsReadWriteTransaction
public interface NetconfDOMFieldsReadOperations
Grouped NETCONF DOM read operations that are using fields parameter for selective reading of data.
-
Method Summary
Modifier and TypeMethodDescription@NonNull com.google.common.util.concurrent.FluentFuture<Optional<org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode>>read(org.opendaylight.mdsal.common.api.LogicalDatastoreType store, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path, List<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier> fields) Reads only selected data field from provided logical data store located at the provided path.
-
Method Details
-
read
@NonNull com.google.common.util.concurrent.FluentFuture<Optional<org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode>> read(org.opendaylight.mdsal.common.api.LogicalDatastoreType store, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path, List<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier> fields) Reads only selected data field from provided logical data store located at the provided path.- Parameters:
store- Logical data store from which read should occur.path- Path which uniquely identifies subtree from which client wants to read selected fields.fields- List of relative paths under parent path which client wants to read.- Returns:
- FluentFuture containing the result of the read. Except the selected fields, the result may contain
also next fields that are required to successfully build output
NormalizedNode. - Throws:
NullPointerException- if any argument is null
-