How do you parse data in xml? Which kind of class do you use with java to parse data?
Answer / Desh Deepak
"To parse XML data in Java, you can use the DocumentBuilderFactory and DOMParser classes. You can create an instance of DocumentBuilderFactory, use its newDocumentBuilder() method to get a DOM parser, and then load the XML document using its parse(InputStream is) method. This will return a Document object containing the parsed XML data."n
| Is This Answer Correct ? | 0 Yes | 0 No |
Why is spark fast?
What exactly is spark?
What is spark used for?
What are the various storages from which Spark can read data?
Explain values() operation in apache spark?
What is difference between dataset and dataframe in spark?
Which storage level does the cache () function use?
Are spark dataframes distributed?
How is spark fault tolerance?
How Spark uses Akka?
Hadoop uses replication to achieve fault tolerance. How is this achieved in Apache Spark?
Name some internal daemons used in spark?
Apache Hadoop (394)
MapReduce (354)
Apache Hive (345)
Apache Pig (225)
Apache Spark (991)
Apache HBase (164)
Apache Flume (95)
Apache Impala (72)
Apache Cassandra (392)
Apache Mahout (35)
Apache Sqoop (82)
Apache ZooKeeper (65)
Apache Ambari (93)
Apache HCatalog (34)
Apache HDFS Hadoop Distributed File System (214)
Apache Kafka (189)
Apache Avro (26)
Apache Presto (15)
Apache Tajo (26)
Hadoop General (407)