Last active
August 29, 2015 14:01
-
-
Save AlexeyKhristov/5bad70b7fa045f634e4b to your computer and use it in GitHub Desktop.
cassandra
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE domains ( | |
domain text PRIMARY KEY, | |
created_at timestamp, | |
tags set<text>, | |
seo_counters map<text, float>, | |
techs map<text, text> | |
) WITH comment='domains'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE pages ( | |
url text PRIMARY KEY, | |
domain text, | |
tags set<text>, | |
status_code int, | |
response_time int, | |
depth int, | |
last_visit timestamp, | |
page_rank float, | |
links_in int, | |
links_out int, | |
body text, | |
headers map<text, text>, | |
content_readability text, | |
content_boilerpipe text | |
) WITH comment='pages'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment