Class BatchReadConfig


  • 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.
    • Constructor Detail

      • BatchReadConfig

        public BatchReadConfig()
    • Method Detail

      • getDepth

        public int getDepth​(Name ntName)
        Return the depth for the given node type name. If the name is not defined in this configuration, the default value is returned.
        Parameters:
        ntName -
        Returns:
        -1 If all child infos should be return or any value greater than 0 if only parts of the subtree should be returned. If the given nodetype name is not defined in this configuration, the default depth 0 will be returned.
      • setDepth

        public void setDepth​(Name ntName,
                             int depth)
        Define the batch-read depth for the given node type name.
        Parameters:
        ntName -
        depth -