SPARK-2314 Override collect and take in JavaSchemaRDD, forwarding to SchemaRDD implementations.