Skip to content

Commit

Permalink
Add license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Deep Ganguli authored and xvrl committed Aug 28, 2013
1 parent 21f3b2b commit 35cd39e
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pyDruid.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#
# Copyright 2013 Metamarkets Group Inc.
#
# Licensed 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.
#
from __future__ import division
import urllib2
import simplejson as json
Expand Down
16 changes: 16 additions & 0 deletions pyDruidUtils/aggregators.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
#
# Copyright 2013 Metamarkets Group Inc.
#
# Licensed 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.
#

#create a json list of user-defined aggregations

# Define the support aggregation types
Expand Down
15 changes: 15 additions & 0 deletions pyDruidUtils/filters.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#
# Copyright 2013 Metamarkets Group Inc.
#
# Licensed 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.
#
class Filter:

def __init__(self, **args):
Expand Down
15 changes: 15 additions & 0 deletions pyDruidUtils/postaggregator.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#
# Copyright 2013 Metamarkets Group Inc.
#
# Licensed 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.
#
import pprint as pp
import re

Expand Down
15 changes: 15 additions & 0 deletions pyDruidUtils/query_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#
# Copyright 2013 Metamarkets Group Inc.
#
# Licensed 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.
#
import csv, codecs, cStringIO

# A special CSV writer which will write rows to TSV file "f", which is encoded in utf-8.
Expand Down

0 comments on commit 35cd39e

Please sign in to comment.