All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.Table.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4+ com/groupbyinc/flux/common/Tablejava/lang/Object
Table.java%com/groupbyinc/flux/common/Table$CellCellheadersLjava/util/List;9Ljava/util/List;rowsKLjava/util/List;>;mapLjava/util/Map;\Ljava/util/Map;>;	headerMapJLjava/util/Map;currentCells	inHeadersZwithTimeEPOCHLjava/lang/String;epoch	TIMESTAMP	timestamp
dateFormat?Lcom/groupbyinc/flux/common/joda/time/format/DateTimeFormatter;()V !
"java/util/ArrayList$
%"	
	'
	)java/util/HashMap+
,"	.	0	2	4HH:mm:ss6:com/groupbyinc/flux/common/joda/time/format/DateTimeFormat8
forPatternS(Ljava/lang/String;)Lcom/groupbyinc/flux/common/joda/time/format/DateTimeFormatter;:;
9<	>this"Lcom/groupbyinc/flux/common/Table;startHeaders$()Lcom/groupbyinc/flux/common/Table;
	DstartHeadersWithTimestampBC
G3alias:t,time;desc:seconds since 1970-01-01 00:00:00IaddCellH(Ljava/lang/Object;Ljava/lang/String;)Lcom/groupbyinc/flux/common/Table;KL
M)alias:ts,hms,hhmmss;desc:time in HH:MM:SSO
endHeadersjava/util/ListRisEmpty()ZTUSVjava/lang/IllegalStateExceptionXno headers added...Z(Ljava/lang/String;)V \
Y]iterator()Ljava/util/Iterator;_`Sajava/util/IteratorchasNexteUdfnext()Ljava/lang/Object;hidjvalueLjava/lang/Object;lm	ntoString()Ljava/lang/String;pq
r
java/util/Maptput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;vwuxheader'Lcom/groupbyinc/flux/common/Table$Cell;startRowsize()I}~S(I)V ?
%?java/lang/System?currentTimeMillis()J??
??java/util/concurrent/TimeUnit?SECONDSLjava/util/concurrent/TimeUnit;??	??MILLISECONDS??	??convert#(JLjava/util/concurrent/TimeUnit;)J??
??java/lang/Long?valueOf(J)Ljava/lang/Long;??
??6(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/Table;K?
?=com/groupbyinc/flux/common/joda/time/format/DateTimeFormatter?print(J)Ljava/lang/String;??
??timeJendRow%(Z)Lcom/groupbyinc/flux/common/Table;no row started...?java/lang/StringBuilder?
?"mismatch on number of cells ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(I)Ljava/lang/StringBuilder;??
?? in a row compared to header ?
?radd(Ljava/lang/Object;)Z??S?sLjava/lang/StringBuilder;check??
??no block started...?-can't add more cells to a row than the header?java/lang/String?length?~
??java/util/Collections?emptyMap()Ljava/util/Map;??
??get(I)Ljava/lang/Object;??S?attr?	?putAll(Ljava/util/Map;)V??u?;?split'(Ljava/lang/String;)[Ljava/lang/String;??
??[Ljava/lang/String;?indexOf(I)I??
??	substring(II)Ljava/lang/String;??
??(I)Ljava/lang/String;??
??$(Ljava/lang/Object;Ljava/util/Map;)V ?
?&(Ljava/lang/Object;)Ljava/lang/Object;??u?mAttr5Ljava/util/Map;idxIsAttrsAttrshdr
attributescell	cellIndex
getHeaders()Ljava/util/List;getRowsgetAsMapgetHeaderMapfindHeaderByName;(Ljava/lang/String;)Lcom/groupbyinc/flux/common/Table$Cell;equals
?
?getAliasMapaliascontainsKey?u"com/groupbyinc/flux/common/StringssplitStringByCommaToArray?
aliases
headerCell
headerNameiheaderAliasMap	Signature
ConstantValueCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable;()Ljava/util/List;M()Ljava/util/List;>;^()Ljava/util/Map;>;L()Ljava/util/Map;7()Ljava/util/Map;
SourceFileInnerClasses!
	



 !?D*?#*?%Y?&?(*?%Y?&?**?,Y?-?/*?,Y?-?1*?3*?5*7?=??? D@A!"!#$%%&0(5):VBCD*?3*?%Y?&?E*? @A!./0FCX*?HW*?5*J?NW*P?NW*? @A!45
678QC?{*?E?*?E?W?
?YY[?^?*?3**?E?(*?E*?(?bL+?g?:+?k?M*?/,?o?s?%Y?&?yW*?1,?o?s,?yW???*? L*z{{@A!*
=>@"A*B/NLOdPvQyS"
	?d??|C?V*?(?W?
?YY[?^?*?%Y*?(?????E*?5?&??@*??????????W**??????W*? 5??V@A!"YZ\*]1^5_G`Tb"=???}*?E?
?YY??^??V*?E??*?(???A??Y??M,???W,*?E????W,???W,*?(????W?YY,???^?*?**?E??W*?E*?  26??}@A}?!2fgi*j2k9lGmNn\ohqvr{s"?V?C6*??W*? @A!
wxK?<*+ŶN? @Alm!|KL?
@*?E?
?YYǷ^?*?3?"*?E??*?(???
?YYɷ^?,?Κ-*?3?
??N??*?(*?E???????N???,Y?-N*?3?!-*?(*?E??????۹?,??::?66?<2:?Κ?$:??6	-	??	`??yW???ûY+-??:*?E??6*?E??W*?3?/*?(????o??:*?/???S??W*? zI?e????	?,??L??(?@@A@lm@p???L{?A?# I??e??p???!j????-?7?>?E?L?h?p?w???????????????????????(?>?"J
%?,u??u????? ??u?T/*?(? @A!?$/*?*? @A!?%?/*?/? @A!?&?/*?1? @A!?'	?2*?(?bM,?g? ,?k?N-?o?s+??-?????  {2@A2z!??+?-?0?"?
d"?
?u
??,Y?-L=*?(???y*?(???N-?o?s:-????B-?????˸::?66?2:	+	?yW????+?yW????+? Hk	Q+?%b{.Y
???@A?#??!2???%?.?=?Q?k?v?|?????"<?
u?R	u????u??()*
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy