Posts

Showing posts from April 9, 2019

天下統一

Image
この項目では、日本の歴史上における国家概念の一つについて説明しています。コンピューターゲームソフトについては「天下統一シリーズ」を、NHKのテレビ番組については「双方向クイズ 天下統一」をご覧ください。 天下統一 (てんかとういつ/てんがとういつ)は統治すべき地域を一人の権力者の下で統治すること。 概要 古代中国の概念から来ており、天子が統治すべき地域を天下と呼んだ [ 要出典 ] 。中国において過去に天下統一した王朝は秦、前漢、後漢、西晋、隋、唐、宋、元、明、清がある。 日本では主に戦国時代から江戸時代初期にかけて、日本全土(琉球と蝦夷地の大半を除く)を、自らの支配下に置き日本全土を統一する事を指す。日本でも古代から用いられた。中世以降には神国観が広まり、武家政権の正当化する論理となり、最高権力者は「天下人」と呼ばれた。 室町・戦国時代に「天下」は天皇王権を擁する室町将軍が管轄する京都とその周辺地域を意味し、天下人たる室町将軍は地方大名を従属・統制下におき紛争などを調停する役割が担わされていた。尾張国の織田信長は将軍足利義昭を擁して間接的に天下人としての役割を担い統一事業を推進し(天下布武)、元亀4年(1573年)には将軍義昭を追放し、天下人としての地位を自身が継承し統一政策を進めた。 信長が本能寺の変で自害すると織田家臣の豊臣秀吉が天下人の継承者としての地位に至り、統一政策を成し遂げた。「天下」の本来の意味では、その支配地域に境界はなく、秀吉は1590年に日本を統一すると、明の征服を中核とした東アジアの統一を企画し、1592年からは朝鮮に出兵(文禄・慶長の役)するが、秀吉死去により途中終了する。 関ヶ原の戦いを経て、「天下」主催者としての地位が征夷大将軍職を世襲した徳川将軍家に継承されると、「天下」は日本列島に限る意味で用いられた。 関連項目 天下 天子 天下人 百日天下 - 短期間の政権の喩え 天下普請 天下の台所 隆中策 治天の君 天下布武 天下泰平 上洛 幕府 この項目は、日本の歴史に関連した 書きかけの項目 です。この項目を加筆・訂正などしてくださる協力者を求めています(P:歴史/P:歴史学/PJ日本史)。 This page is only for reference, If you need detailed information, please

Convert MongoCollection to DBCollection SpingBoot 1.5.4 to 2.1.0.RELEASE

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box; 1 I have upgraded my springBoot version from 1.5.4 to 2.1.0.RELEASE . I have the following piece of code which is creating trouble. MongoCollection<Document> collection1 = mongoTemplate.getCollection(collection); MapReduceCommand cmd = new MapReduceCommand(collection1, map, reduce, "sd", MapReduceCommand.OutputType.INLINE, null); MapReduceOutput out = collection1.mapReduce(cmd); Now getCollection() method returns MongoCollection and MapReduceCommand accepts DB collection. So is there any way to convert between the two ? java database mongodb spring-boot share | improve this question asked Nov 16 '18 at 13:38 Jayesh Choudhary Jayesh Choudhary 379 4 15 Then use the MongoCollection.mapReduce() method like you were supposed to do when the code was

「風流能」を作成中

This page is only for reference, If you need detailed information, please check here

ReactJS Fetched API data displays live - need Data displayed static

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box; 0 I'm fetching data from API with axios which is live (counters, date and time etc.). When I display it, browser gets not responding because it gets a lot of requests. What I need just get a first snapshot of live data. Same goes for: var date = new Date; return (<p>date.toLacaleString()</p>) It gets live time (ticking every second) :D I just need date and time at that moment when it gets requested (snapshot). reactjs date time static axios share | improve this question edited Nov 16 '18 at 16:18 Sung M. Kim 17.9k 33 112 165 asked Nov 16 '18 at 13:39 Laurynas Žilinskas Laurynas Žilinskas 8 4 add a comment  |  0 I'm fetching data from API with axios which is live (counters, date and time etc.). When I display it, brow