http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/MutationBuilder.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/MutationBuilder.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/MutationBuilder.scala index c5d4882..cfb4c26 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/MutationBuilder.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/MutationBuilder.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage import com.kakao.s2graph.core._
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/QueryBuilder.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/QueryBuilder.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/QueryBuilder.scala index b6380dd..68ce53f 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/QueryBuilder.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/QueryBuilder.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage import com.google.common.cache.Cache http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/SKeyValue.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/SKeyValue.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/SKeyValue.scala index c2c822b..c0c8cd7 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/SKeyValue.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/SKeyValue.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage import org.hbase.async.KeyValue http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/Storage.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/Storage.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/Storage.scala index 79303a5..a2c5ea5 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/Storage.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/Storage.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage import com.google.common.cache.Cache http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/StorageDeserializable.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/StorageDeserializable.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/StorageDeserializable.scala index 791a080..9347255 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/StorageDeserializable.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/StorageDeserializable.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage import com.kakao.s2graph.core.{Edge, IndexEdge, QueryParam} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/StorageSerializable.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/StorageSerializable.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/StorageSerializable.scala index 575f4ab..236e2d3 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/StorageSerializable.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/StorageSerializable.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage import com.kakao.s2graph.core.types.{InnerValLikeWithTs, InnerValLike} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseMutationBuilder.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseMutationBuilder.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseMutationBuilder.scala index 504f369..b4ff58c 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseMutationBuilder.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseMutationBuilder.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage.hbase import com.kakao.s2graph.core._ http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseQueryBuilder.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseQueryBuilder.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseQueryBuilder.scala index 824bb0d..9920c52 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseQueryBuilder.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseQueryBuilder.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage.hbase import java.util http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseStorage.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseStorage.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseStorage.scala index 74f580e..656d593 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseStorage.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseStorage.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage.hbase import java.util http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/HDeserializable.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/HDeserializable.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/HDeserializable.scala index 25fe642..9aa38ea 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/HDeserializable.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/HDeserializable.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage.hbase import com.kakao.s2graph.core.storage.{SKeyValue, StorageDeserializable} @@ -22,4 +41,4 @@ trait HDeserializable[E] extends StorageDeserializable[E] { val rowLen = srcIdLen + 4 + 1 (srcVertexId, labelWithDir, labelIdxSeq, isInverted, rowLen) } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/HSerializable.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/HSerializable.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/HSerializable.scala index cc21cba..67e5443 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/HSerializable.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/HSerializable.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage.hbase import com.kakao.s2graph.core.storage.StorageSerializable http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/IndexEdgeDeserializable.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/IndexEdgeDeserializable.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/IndexEdgeDeserializable.scala index 64ac1cf..cec3a98 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/IndexEdgeDeserializable.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/IndexEdgeDeserializable.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage.hbase import com.kakao.s2graph.core._ http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/IndexEdgeSerializable.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/IndexEdgeSerializable.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/IndexEdgeSerializable.scala index ceba4b9..9770942 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/IndexEdgeSerializable.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/IndexEdgeSerializable.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage.hbase import com.kakao.s2graph.core.mysqls.LabelMeta http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/SnapshotEdgeDeserializable.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/SnapshotEdgeDeserializable.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/SnapshotEdgeDeserializable.scala index 97f63e4..23cb5bb 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/SnapshotEdgeDeserializable.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/SnapshotEdgeDeserializable.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage.hbase import com.kakao.s2graph.core.mysqls.{LabelIndex, LabelMeta} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/SnapshotEdgeSerializable.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/SnapshotEdgeSerializable.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/SnapshotEdgeSerializable.scala index a9e77dc..cd8ddde 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/SnapshotEdgeSerializable.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/SnapshotEdgeSerializable.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage.hbase import java.util.UUID http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/VertexDeserializable.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/VertexDeserializable.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/VertexDeserializable.scala index 4c0ca19..2191cf0 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/VertexDeserializable.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/VertexDeserializable.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage.hbase import com.kakao.s2graph.core.storage.CanSKeyValue http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/VertexSerializable.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/VertexSerializable.scala b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/VertexSerializable.scala index 370b844..7747e92 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/VertexSerializable.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/storage/hbase/VertexSerializable.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage.hbase import com.kakao.s2graph.core.Vertex http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/types/HBaseType.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/types/HBaseType.scala b/s2core/src/main/scala/com/kakao/s2graph/core/types/HBaseType.scala index 62af1d7..4828792 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/types/HBaseType.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/types/HBaseType.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.types import org.apache.hadoop.hbase.util.Bytes @@ -159,4 +178,4 @@ trait HBaseDeserializableWithIsVertexId { isVertexId: Boolean = false): (HBaseSerializable, Int) def notSupportedEx(version: String) = new RuntimeException(s"not supported version, $version") -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/types/InnerValLike.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/types/InnerValLike.scala b/s2core/src/main/scala/com/kakao/s2graph/core/types/InnerValLike.scala index 8209462..6ec558d 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/types/InnerValLike.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/types/InnerValLike.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.types import org.apache.hadoop.hbase.util._ http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/types/LabelWithDirection.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/types/LabelWithDirection.scala b/s2core/src/main/scala/com/kakao/s2graph/core/types/LabelWithDirection.scala index 6207ad7..750b50f 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/types/LabelWithDirection.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/types/LabelWithDirection.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.types import com.kakao.s2graph.core.GraphUtil http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/types/VertexId.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/types/VertexId.scala b/s2core/src/main/scala/com/kakao/s2graph/core/types/VertexId.scala index 13637bf..d8c0be4 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/types/VertexId.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/types/VertexId.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.types import com.kakao.s2graph.core.GraphUtil http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/types/v1/InnerVal.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/types/v1/InnerVal.scala b/s2core/src/main/scala/com/kakao/s2graph/core/types/v1/InnerVal.scala index 5111cbc..54bd534 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/types/v1/InnerVal.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/types/v1/InnerVal.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.types.v1 import com.kakao.s2graph.core.GraphExceptions.IllegalDataTypeException http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/types/v2/InnerVal.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/types/v2/InnerVal.scala b/s2core/src/main/scala/com/kakao/s2graph/core/types/v2/InnerVal.scala index 630e53d..6b53674 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/types/v2/InnerVal.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/types/v2/InnerVal.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.types.v2 import com.kakao.s2graph.core.types._ http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/utils/Extentions.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/utils/Extentions.scala b/s2core/src/main/scala/com/kakao/s2graph/core/utils/Extentions.scala index 3812c2c..3e27c83 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/utils/Extentions.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/utils/Extentions.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.utils import com.stumbleupon.async.{Callback, Deferred} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/utils/Logger.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/utils/Logger.scala b/s2core/src/main/scala/com/kakao/s2graph/core/utils/Logger.scala index 4f2ba9f..8b0f683 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/utils/Logger.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/utils/Logger.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.utils import play.api.Logger http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/utils/SafeUpdateCache.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/utils/SafeUpdateCache.scala b/s2core/src/main/scala/com/kakao/s2graph/core/utils/SafeUpdateCache.scala index d383b47..c2b4833 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/utils/SafeUpdateCache.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/utils/SafeUpdateCache.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.utils import java.util.concurrent.atomic.AtomicBoolean http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/EdgeTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/EdgeTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/EdgeTest.scala index 6374d43..c7e2758 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/EdgeTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/EdgeTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core import com.kakao.s2graph.core.mysqls.LabelMeta http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/GraphTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/GraphTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/GraphTest.scala index 9a58bd0..4d41b00 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/GraphTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/GraphTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core /** http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/JsonParserTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/JsonParserTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/JsonParserTest.scala index 84349cb..18d6a04 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/JsonParserTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/JsonParserTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core import com.kakao.s2graph.core.types.{InnerValLike, InnerVal} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/ManagementTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/ManagementTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/ManagementTest.scala index e5b3e51..03f2352 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/ManagementTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/ManagementTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + //package com.kakao.s2graph.core //import com.kakao.s2graph.core.Graph //import com.kakao.s2graph.core.models.{HLabel, HService, HServiceColumn, HBaseModel} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/OrderingUtilTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/OrderingUtilTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/OrderingUtilTest.scala index f6f1520..2f405c8 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/OrderingUtilTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/OrderingUtilTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core import com.kakao.s2graph.core.OrderingUtil.MultiValueOrdering http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/QueryParamTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/QueryParamTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/QueryParamTest.scala index 374293e..147ffe3 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/QueryParamTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/QueryParamTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core import com.kakao.s2graph.core.types.LabelWithDirection http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/TestCommon.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/TestCommon.scala b/s2core/src/test/scala/com/kakao/s2graph/core/TestCommon.scala index fae3d06..9201f95 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/TestCommon.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/TestCommon.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core import com.kakao.s2graph.core.mysqls._ http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/TestCommonWithModels.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/TestCommonWithModels.scala b/s2core/src/test/scala/com/kakao/s2graph/core/TestCommonWithModels.scala index fca7dc0..fbf98f8 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/TestCommonWithModels.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/TestCommonWithModels.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core import com.kakao.s2graph.core.Management.JsonModel.{Index, Prop} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/VertexTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/VertexTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/VertexTest.scala index 62b98b5..202b204 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/VertexTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/VertexTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + //package com.kakao.s2graph.core // //import com.kakao.s2graph.core.types.{VertexId, InnerVal, InnerValLike} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/models/ModelTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/models/ModelTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/models/ModelTest.scala index 478da12..5a308ca 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/models/ModelTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/models/ModelTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.models import java.util.concurrent.ExecutorService http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/mysqls/ExperimentSpec.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/mysqls/ExperimentSpec.scala b/s2core/src/test/scala/com/kakao/s2graph/core/mysqls/ExperimentSpec.scala index 2bc764d..41b1521 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/mysqls/ExperimentSpec.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/mysqls/ExperimentSpec.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.mysqls import java.util.Properties http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/parsers/WhereParserTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/parsers/WhereParserTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/parsers/WhereParserTest.scala index 73d0d76..4d11839 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/parsers/WhereParserTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/parsers/WhereParserTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.parsers import com.kakao.s2graph.core._ http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseQueryBuilderTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseQueryBuilderTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseQueryBuilderTest.scala index b404559..002c799 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseQueryBuilderTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/storage/hbase/AsynchbaseQueryBuilderTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.storage.hbase import com.kakao.s2graph.core.Graph http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/types/CompositeIdTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/types/CompositeIdTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/types/CompositeIdTest.scala index d014208..679f7b5 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/types/CompositeIdTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/types/CompositeIdTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + //package com.kakao.s2graph.core.types // //import com.kakao.s2graph.core.{TestCommonWithModels, GraphUtil, TestCommon} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/types/EdgeTypeTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/types/EdgeTypeTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/types/EdgeTypeTest.scala index cfcedd1..39e2d20 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/types/EdgeTypeTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/types/EdgeTypeTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + //package com.kakao.s2graph.core.types // //import com.kakao.s2graph.core.types2._ http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/types/InnerValTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/types/InnerValTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/types/InnerValTest.scala index c0c242b..72ce345 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/types/InnerValTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/types/InnerValTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.kakao.s2graph.core.types import com.kakao.s2graph.core.types._ http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/types/SourceVertexIdTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/types/SourceVertexIdTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/types/SourceVertexIdTest.scala index b77e27b..b35329a 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/types/SourceVertexIdTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/types/SourceVertexIdTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + //package com.kakao.s2graph.core.types // //import com.kakao.s2graph.core.types2._ http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/types/TargetVertexIdTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/types/TargetVertexIdTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/types/TargetVertexIdTest.scala index 845de95..bfd4ddc 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/types/TargetVertexIdTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/types/TargetVertexIdTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + //package com.kakao.s2graph.core.types // //import com.kakao.s2graph.core.types2._ http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/types/VertexIdTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/types/VertexIdTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/types/VertexIdTest.scala index c0d1e59..4dbc172 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/types/VertexIdTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/types/VertexIdTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + //package com.kakao.s2graph.core.types // //import com.kakao.s2graph.core.types2.{HBaseType, VertexId, InnerValLike, InnerVal} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/test/scala/com/kakao/s2graph/core/types/VertexTypeTest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/test/scala/com/kakao/s2graph/core/types/VertexTypeTest.scala b/s2core/src/test/scala/com/kakao/s2graph/core/types/VertexTypeTest.scala index 284601b..0ccc206 100644 --- a/s2core/src/test/scala/com/kakao/s2graph/core/types/VertexTypeTest.scala +++ b/s2core/src/test/scala/com/kakao/s2graph/core/types/VertexTypeTest.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + //package com.kakao.s2graph.core.types // //import com.kakao.s2graph.core.TestCommon http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2counter_core/src/main/scala/s2/config/ConfigFunctions.scala ---------------------------------------------------------------------- diff --git a/s2counter_core/src/main/scala/s2/config/ConfigFunctions.scala b/s2counter_core/src/main/scala/s2/config/ConfigFunctions.scala index 20d07ce..db698d1 100644 --- a/s2counter_core/src/main/scala/s2/config/ConfigFunctions.scala +++ b/s2counter_core/src/main/scala/s2/config/ConfigFunctions.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package s2.config import com.typesafe.config.Config http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2counter_core/src/main/scala/s2/config/S2CounterConfig.scala ---------------------------------------------------------------------- diff --git a/s2counter_core/src/main/scala/s2/config/S2CounterConfig.scala b/s2counter_core/src/main/scala/s2/config/S2CounterConfig.scala index d0db73c..0cc5019 100644 --- a/s2counter_core/src/main/scala/s2/config/S2CounterConfig.scala +++ b/s2counter_core/src/main/scala/s2/config/S2CounterConfig.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package s2.config import com.typesafe.config.Config http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2counter_core/src/main/scala/s2/counter/TrxLog.scala ---------------------------------------------------------------------- diff --git a/s2counter_core/src/main/scala/s2/counter/TrxLog.scala b/s2counter_core/src/main/scala/s2/counter/TrxLog.scala index c1db356..d70cf3e 100644 --- a/s2counter_core/src/main/scala/s2/counter/TrxLog.scala +++ b/s2counter_core/src/main/scala/s2/counter/TrxLog.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package s2.counter import play.api.libs.json.Json http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2counter_core/src/main/scala/s2/counter/core/BytesUtil.scala ---------------------------------------------------------------------- diff --git a/s2counter_core/src/main/scala/s2/counter/core/BytesUtil.scala b/s2counter_core/src/main/scala/s2/counter/core/BytesUtil.scala index 1d945ed..1a77769 100644 --- a/s2counter_core/src/main/scala/s2/counter/core/BytesUtil.scala +++ b/s2counter_core/src/main/scala/s2/counter/core/BytesUtil.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package s2.counter.core /** http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2counter_core/src/main/scala/s2/counter/core/ExactCounter.scala ---------------------------------------------------------------------- diff --git a/s2counter_core/src/main/scala/s2/counter/core/ExactCounter.scala b/s2counter_core/src/main/scala/s2/counter/core/ExactCounter.scala index 7f36681..fa5e4b0 100644 --- a/s2counter_core/src/main/scala/s2/counter/core/ExactCounter.scala +++ b/s2counter_core/src/main/scala/s2/counter/core/ExactCounter.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package s2.counter.core import com.typesafe.config.Config http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2counter_core/src/main/scala/s2/counter/core/ExactKey.scala ---------------------------------------------------------------------- diff --git a/s2counter_core/src/main/scala/s2/counter/core/ExactKey.scala b/s2counter_core/src/main/scala/s2/counter/core/ExactKey.scala index 63aca51..2516929 100644 --- a/s2counter_core/src/main/scala/s2/counter/core/ExactKey.scala +++ b/s2counter_core/src/main/scala/s2/counter/core/ExactKey.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package s2.counter.core import s2.models.Counter http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2counter_core/src/main/scala/s2/counter/core/ExactQualifier.scala ---------------------------------------------------------------------- diff --git a/s2counter_core/src/main/scala/s2/counter/core/ExactQualifier.scala b/s2counter_core/src/main/scala/s2/counter/core/ExactQualifier.scala index f4ac708..73945d9 100644 --- a/s2counter_core/src/main/scala/s2/counter/core/ExactQualifier.scala +++ b/s2counter_core/src/main/scala/s2/counter/core/ExactQualifier.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package s2.counter.core import java.util http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2counter_core/src/main/scala/s2/counter/core/ExactStorage.scala ---------------------------------------------------------------------- diff --git a/s2counter_core/src/main/scala/s2/counter/core/ExactStorage.scala b/s2counter_core/src/main/scala/s2/counter/core/ExactStorage.scala index 6a81f41..592b0be 100644 --- a/s2counter_core/src/main/scala/s2/counter/core/ExactStorage.scala +++ b/s2counter_core/src/main/scala/s2/counter/core/ExactStorage.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package s2.counter.core import s2.counter.core.ExactCounter.ExactValueMap http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2counter_core/src/main/scala/s2/counter/core/RankingCounter.scala ---------------------------------------------------------------------- diff --git a/s2counter_core/src/main/scala/s2/counter/core/RankingCounter.scala b/s2counter_core/src/main/scala/s2/counter/core/RankingCounter.scala index b98ef30..862b3ff 100644 --- a/s2counter_core/src/main/scala/s2/counter/core/RankingCounter.scala +++ b/s2counter_core/src/main/scala/s2/counter/core/RankingCounter.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package s2.counter.core import java.util.concurrent.TimeUnit @@ -102,4 +121,4 @@ class RankingCounter(config: Config, storage: RankingStorage) { object RankingCounter { type RankingValueMap = Map[String, RankingValue] -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2counter_core/src/main/scala/s2/counter/core/RankingKey.scala ---------------------------------------------------------------------- diff --git a/s2counter_core/src/main/scala/s2/counter/core/RankingKey.scala b/s2counter_core/src/main/scala/s2/counter/core/RankingKey.scala index 7d70625..269b6f9 100644 --- a/s2counter_core/src/main/scala/s2/counter/core/RankingKey.scala +++ b/s2counter_core/src/main/scala/s2/counter/core/RankingKey.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package s2.counter.core /** http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2counter_core/src/main/scala/s2/counter/core/RankingResult.scala ---------------------------------------------------------------------- diff --git a/s2counter_core/src/main/scala/s2/counter/core/RankingResult.scala b/s2counter_core/src/main/scala/s2/counter/core/RankingResult.scala index 42fae3e..4f45a25 100644 --- a/s2counter_core/src/main/scala/s2/counter/core/RankingResult.scala +++ b/s2counter_core/src/main/scala/s2/counter/core/RankingResult.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package s2.counter.core /** http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2counter_core/src/main/scala/s2/counter/core/RankingStorage.scala ---------------------------------------------------------------------- diff --git a/s2counter_core/src/main/scala/s2/counter/core/RankingStorage.scala b/s2counter_core/src/main/scala/s2/counter/core/RankingStorage.scala index b643bd8..fb11f72 100644 --- a/s2counter_core/src/main/scala/s2/counter/core/RankingStorage.scala +++ b/s2counter_core/src/main/scala/s2/counter/core/RankingStorage.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package s2.counter.core import s2.counter.core.RankingCounter.RankingValueMap http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2counter_core/src/main/scala/s2/counter/core/RankingValue.scala ---------------------------------------------------------------------- diff --git a/s2counter_core/src/main/scala/s2/counter/core/RankingValue.scala b/s2counter_core/src/main/scala/s2/counter/core/RankingValue.scala index 4b67633..835206c 100644 --- a/s2counter_core/src/main/scala/s2/counter/core/RankingValue.scala +++ b/s2counter_core/src/main/scala/s2/counter/core/RankingValue.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package s2.counter.core /** http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2counter_core/src/main/scala/s2/counter/core/RateRankingValue.scala ---------------------------------------------------------------------- diff --git a/s2counter_core/src/main/scala/s2/counter/core/RateRankingValue.scala b/s2counter_core/src/main/scala/s2/counter/core/RateRankingValue.scala index eca3abc..21f4d1d 100644 --- a/s2counter_core/src/main/scala/s2/counter/core/RateRankingValue.scala +++ b/s2counter_core/src/main/scala/s2/counter/core/RateRankingValue.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package s2.counter.core /**
