删除原始IP Learning项目包
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package cn.ac.iie.config
|
||||
|
||||
object ApplicationConfig {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package cn.ac.iie.dao
|
||||
|
||||
object BaseClickhouseData {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package cn.ac.iie.main
|
||||
|
||||
object IpLearningApplication {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package cn.ac.iie.service.transform
|
||||
|
||||
object MergeDataFrame {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package cn.ac.iie.service.update
|
||||
|
||||
object UpdateDocHandler {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package cn.ac.iie.service.update
|
||||
|
||||
object UpdateDocument {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package cn.ac.iie.service.partition
|
||||
|
||||
import org.apache.spark.Partitioner
|
||||
|
||||
class CustomPartitioner(numPartition: Int) extends Partitioner{
|
||||
override def numPartitions: Int = numPartition
|
||||
|
||||
override def getPartition(key: Any): Int = {
|
||||
Math.abs(key.hashCode()) % numPartition
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package cn.ac.iie.utils
|
||||
|
||||
object SparkSessionUtil {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user