Class MarkLogicRecordReader<KEYIN,​VALUEIN>

    • Field Detail

      • LOG

        public static final org.apache.commons.logging.Log LOG
      • count

        protected long count
        Count of records fetched
      • session

        protected com.marklogic.xcc.Session session
        Session to the MarkLogic server.
      • result

        protected com.marklogic.xcc.ResultSequence result
        ResultSequence from the MarkLogic server.
      • conf

        protected org.apache.hadoop.conf.Configuration conf
        Job configuration.
      • length

        protected float length
        Total expected count of the records in a split.
      • redactionRuleCol

        protected String[] redactionRuleCol
        Redaction rule collection names.
      • replicas

        protected List<ForestHost> replicas
        list of forests for failover
      • curForest

        protected int curForest
        Current Forest to connect for failover
      • hostNames

        protected String[] hostNames
        Hostnames from the input split
      • retry

        protected int retry
        for failover retry
      • sleepTime

        protected int sleepTime
    • Constructor Detail

      • MarkLogicRecordReader

        public MarkLogicRecordReader​(org.apache.hadoop.conf.Configuration conf)