public class BatchReadConfig extends Object
BatchReadConfig
defines if and how deep child item
information should be retrieved, when accessing a Node
.
The configuration is based on node type names.Modifier and Type | Field and Description |
---|---|
static int |
DEPTH_DEFAULT |
static int |
DEPTH_INFINITE |
Constructor and Description |
---|
BatchReadConfig() |
Modifier and Type | Method and Description |
---|---|
int |
getDepth(Name ntName)
Return the depth for the given node type name.
|
void |
setDepth(Name ntName,
int depth)
Define the batch-read depth for the given node type name.
|
public static final int DEPTH_DEFAULT
public static final int DEPTH_INFINITE
public int getDepth(Name ntName)
default value
is returned.public void setDepth(Name ntName, int depth)
ntName
- depth
- Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.