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

com.github.sdmcraft.slingdynamo.demo.App.class Maven / Gradle / Ivy

The newest version!
????1S
?	
	

	? 	?!"
#
$
%&
'(
)*
+	?,	-.
/0
1
?234

56
 ?
 7	89
 :
;<
'
'=	>?
'@
AB
-
CD
-E
-F
G
H
IJK
L
?MN
8
8O
P
QRSTUVWX
?YZ
D[
\]^_`a
Kb
M	cd
c%
Mef
Rg
Rh
Mi?
Kjk
Yl
Ym
nopq
]rs
]t
uv
]wx
]yz
]{|}~
jr
Rlj
????
R???
?	'?N 
???
???	??
?%
@??
@????
?l
R??
?
??
??
??
??
??
??
???????????????
R????
R??
R??
R??
R??
R?????
@?
@??
@???dynamoDB8Lcom/amazonaws/services/dynamodbv2/AmazonDynamoDBClient;	accessKeyLjava/lang/String;secretAccessKey()VCodeLineNumberTableLocalVariableTablethis*Lcom/github/sdmcraft/slingdynamo/demo/App;initreaderLjava/util/Scanner;awsCredentials#Lcom/amazonaws/auth/AWSCredentials;usWest2Lcom/amazonaws/regions/Region;main1([Ljava/lang/String;)V	tableNamecreateTableRequestLcom/amazonaws/services/dynamodbv2/model/DescribeTableRequest;tableDescriptionitemLjava/util/Map;putItemRequest8Lcom/amazonaws/services/dynamodbv2/model/PutItemRequest;
putItemResult7Lcom/amazonaws/services/dynamodbv2/model/PutItemResult;
scanFilterLjava/util/HashMap;	condition3Lcom/amazonaws/services/dynamodbv2/model/Condition;scanRequest5Lcom/amazonaws/services/dynamodbv2/model/ScanRequest;
scanResult4Lcom/amazonaws/services/dynamodbv2/model/ScanResult;ase&Lcom/amazonaws/AmazonServiceException;ace%Lcom/amazonaws/AmazonClientException;args[Ljava/lang/String;LocalVariableTypeTable[Ljava/util/Map;ZLjava/util/HashMap;
ExceptionsnewItemI(Ljava/lang/String;ILjava/lang/String;[Ljava/lang/String;)Ljava/util/Map;nameyearIratingfans	Signature?(Ljava/lang/String;ILjava/lang/String;[Ljava/lang/String;)Ljava/util/Map;waitForTableToBecomeAvailable(Ljava/lang/String;)VeLjava/lang/Exception;requesttableStatus	startTimeJendTimemain2keygetItemRequest8Lcom/amazonaws/services/dynamodbv2/model/GetItemRequest;result7Lcom/amazonaws/services/dynamodbv2/model/GetItemResult;	printItem(Ljava/util/Map;)V
attributeNamevalue8Lcom/amazonaws/services/dynamodbv2/model/AttributeValue;EntryInnerClassesLjava/util/Map$Entry;i$Ljava/util/Iterator;
attributeListaLjava/util/Map$Entry;^(Ljava/util/Map;)VmainpathrootsubPath
subPathSplitstablecolumn
SourceFileApp.java??java/util/Scanner???????Enter access key:???????Enter secret access key:??java/lang/StringBuilderAccess Key:????Secret access Key:??&com/amazonaws/auth/BasicAWSCredentials??6com/amazonaws/services/dynamodbv2/AmazonDynamoDBClient??????????????my-favorite-movies-table:com/amazonaws/services/dynamodbv2/model/CreateTableRequest??8com/amazonaws/services/dynamodbv2/model/KeySchemaElement?????????;com/amazonaws/services/dynamodbv2/model/AttributeDefinition?????????=com/amazonaws/services/dynamodbv2/model/ProvisionedThroughput??????????????Created Table: ?????@AB?Cjava/util/Map$EntryDCEC F?S=[]G?N=[HIB=[JKSS=[LKNS=[MKBS=[] 
/abc/pqr/123/456/abc/pqrNO/PQ(com/github/sdmcraft/slingdynamo/demo/Appjava/lang/Objectjava/lang/SysteminLjava/io/InputStream;(Ljava/io/InputStream;)VoutLjava/io/PrintStream;java/io/PrintStreamprintlnnext()Ljava/lang/String;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;toStringclose'(Ljava/lang/String;Ljava/lang/String;)V&(Lcom/amazonaws/auth/AWSCredentials;)Vcom/amazonaws/regions/Regions	US_WEST_2Lcom/amazonaws/regions/Regions;com/amazonaws/regions/Region	getRegion?(Lcom/amazonaws/regions/Regions;)Lcom/amazonaws/regions/Region;	setRegion!(Lcom/amazonaws/regions/Region;)V
withTableNameP(Ljava/lang/String;)Lcom/amazonaws/services/dynamodbv2/model/CreateTableRequest;withAttributeNameN(Ljava/lang/String;)Lcom/amazonaws/services/dynamodbv2/model/KeySchemaElement;/com/amazonaws/services/dynamodbv2/model/KeyTypeHASH1Lcom/amazonaws/services/dynamodbv2/model/KeyType;withKeyTypem(Lcom/amazonaws/services/dynamodbv2/model/KeyType;)Lcom/amazonaws/services/dynamodbv2/model/KeySchemaElement;
withKeySchemay([Lcom/amazonaws/services/dynamodbv2/model/KeySchemaElement;)Lcom/amazonaws/services/dynamodbv2/model/CreateTableRequest;Q(Ljava/lang/String;)Lcom/amazonaws/services/dynamodbv2/model/AttributeDefinition;;com/amazonaws/services/dynamodbv2/model/ScalarAttributeTypeS=Lcom/amazonaws/services/dynamodbv2/model/ScalarAttributeType;withAttributeType|(Lcom/amazonaws/services/dynamodbv2/model/ScalarAttributeType;)Lcom/amazonaws/services/dynamodbv2/model/AttributeDefinition;withAttributeDefinitions|([Lcom/amazonaws/services/dynamodbv2/model/AttributeDefinition;)Lcom/amazonaws/services/dynamodbv2/model/CreateTableRequest;java/lang/LongvalueOf(J)Ljava/lang/Long;withReadCapacityUnitsQ(Ljava/lang/Long;)Lcom/amazonaws/services/dynamodbv2/model/ProvisionedThroughput;withWriteCapacityUnitswithProvisionedThroughput}(Lcom/amazonaws/services/dynamodbv2/model/ProvisionedThroughput;)Lcom/amazonaws/services/dynamodbv2/model/CreateTableRequest;createTabley(Lcom/amazonaws/services/dynamodbv2/model/CreateTableRequest;)Lcom/amazonaws/services/dynamodbv2/model/CreateTableResult;9com/amazonaws/services/dynamodbv2/model/CreateTableResultgetTableDescription<()Lcom/amazonaws/services/dynamodbv2/model/TableDescription;-(Ljava/lang/Object;)Ljava/lang/StringBuilder;R(Ljava/lang/String;)Lcom/amazonaws/services/dynamodbv2/model/DescribeTableRequest;
describeTable}(Lcom/amazonaws/services/dynamodbv2/model/DescribeTableRequest;)Lcom/amazonaws/services/dynamodbv2/model/DescribeTableResult;;com/amazonaws/services/dynamodbv2/model/DescribeTableResultgetTable$(Ljava/lang/String;Ljava/util/Map;)VputItemq(Lcom/amazonaws/services/dynamodbv2/model/PutItemRequest;)Lcom/amazonaws/services/dynamodbv2/model/PutItemResult;:com/amazonaws/services/dynamodbv2/model/ComparisonOperatorGT???@YASYBS?C:?DY+?E:??F:??Y?
G??6??H?I?@YASYJS?C:?DY+?E:??F:??Y?
G??6???KY?L:	?MY?N?O?P?Q?RY?RY?ST?US?V:
	W
?XW?YY+?Z	?[:??\:??Y?
G??6????L?^???Y?
_?+?`?????Y?
a?+?b?c????Y?
d?+?e?????Y?
f?+?g?6????Y?
h?+?i????(L?k???Y?
l?+?m??????]?[j??$Z]`bgmi?l?o?p?r?u?w?x?y|"}.~8R?[???????????????????? ?<?X?[?\?d????????b^??mS???)?????????????????[e??	?=??
?$?????????\$??????????[e??	?|?????]?KY?L:"?RY*?n?oWW?RY?S?p?U?oWq?RY,?n?oWr?RY?S-?s?oW???	??3?E?Z??4]??]??]??]??	T???	T????
???????Y?
t?*?u????v@waB?v!??py?{?:?8Y?9*?::??;?<:?}:??Y?
~??????????????:?e??????????Y?Y?
??*???????069|;??]?N??"?(?0?6?9?;?H?U?\?v????????????????R;??H=??U0??\)????????"???(???	????g??KY?LL+"?RY?SH???oW??Y????+???@Y"SYrSYqSYWS????M?,??N???-??????"??? ?O?W?_?f??*g??\??O??W???\??
???Y*????L+???F+????M,???@N,???R:??Y?
-?????????Y?
???????????????Y?
???????????????Y?
?????6??????????Y?
?????6??????????Y?
?????6??????????Y?
?????6?????????????)?4?UX?4),?4!6?LY	??6?
Y	??	???H?L?M+,??`??N-???:2:::??
-???2:??
-???2:??2	

"%,6=G?RH??E
?B?7?/?)?"&?%#??	]@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy