docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"vlan",
"<",
"/",
"p",
">"
] | [
"set",
"vlan",
"(",
"vlan",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"aws",
"direct",
"connect",
"service",
"provider",
"associated",
"with",
"the",
"connection",
"<",
"/",
"p",
">"
] | [
"this",
"partner",
"name",
"=",
"partner",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"aws",
"direct",
"connect",
"service",
"provider",
"associated",
"with",
"the",
"connection",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"partner",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"aws",
"direct",
"connect",
"service",
"provider",
"associated",
"with",
"the",
"connection",
"<",
"/",
"p",
">"
] | [
"set",
"partner",
"name",
"(",
"partner",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"time",
"of",
"the",
"most",
"recent",
"call",
"to",
"<",
"a",
">",
"describe",
"loa",
"<",
"/",
"a",
">",
"for",
"this",
"connection",
"<",
"/",
"p",
">"
] | [
"this",
"loa",
"issue",
"time",
"=",
"loa",
"issue",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"time",
"of",
"the",
"most",
"recent",
"call",
"to",
"<",
"a",
">",
"describe",
"loa",
"<",
"/",
"a",
">",
"for",
"this",
"connection",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"loa",
"issue",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"time",
"of",
"the",
"most",
"recent",
"call",
"to",
"<",
"a",
">",
"describe",
"loa",
"<",
"/",
"a",
">",
"for",
"this",
"connection",
"<",
"/",
"p",
">"
] | [
"set",
"loa",
"issue",
"time",
"(",
"loa",
"issue",
"time",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"lag",
"<",
"/",
"p",
">"
] | [
"set",
"lag",
"id",
"(",
"lag",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"direct",
"connect",
"endpoint",
"on",
"which",
"the",
"physical",
"connection",
"terminates",
"<",
"/",
"p",
">"
] | [
"this",
"aws",
"device",
"=",
"aws",
"device",
";"
] |
[
"<",
"p",
">",
"the",
"direct",
"connect",
"endpoint",
"on",
"which",
"the",
"physical",
"connection",
"terminates",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"aws",
"device",
";"
] |
[
"<",
"p",
">",
"the",
"direct",
"connect",
"endpoint",
"on",
"which",
"the",
"physical",
"connection",
"terminates",
"<",
"/",
"p",
">"
] | [
"set",
"aws",
"device",
"(",
"aws",
"device",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"indicates",
"whether",
"jumbo",
"frames",
"(",
"9001",
"mtu",
")",
"are",
"supported",
"<",
"/",
"p",
">"
] | [
"this",
"jumbo",
"frame",
"capable",
"=",
"jumbo",
"frame",
"capable",
";"
] |
[
"<",
"p",
">",
"indicates",
"whether",
"jumbo",
"frames",
"(",
"9001",
"mtu",
")",
"are",
"supported",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"jumbo",
"frame",
"capable",
";"
] |
[
"<",
"p",
">",
"indicates",
"whether",
"jumbo",
"frames",
"(",
"9001",
"mtu",
")",
"are",
"supported",
"<",
"/",
"p",
">"
] | [
"set",
"jumbo",
"frame",
"capable",
"(",
"jumbo",
"frame",
"capable",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"indicates",
"whether",
"jumbo",
"frames",
"(",
"9001",
"mtu",
")",
"are",
"supported",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"jumbo",
"frame",
"capable",
";"
] |
[
"<",
"p",
">",
"the",
"direct",
"connect",
"endpoint",
"on",
"which",
"the",
"physical",
"connection",
"terminates",
"<",
"/",
"p",
">"
] | [
"this",
"aws",
"device",
"v",
"2",
"=",
"aws",
"device",
"v",
"2",
";"
] |
[
"<",
"p",
">",
"the",
"direct",
"connect",
"endpoint",
"on",
"which",
"the",
"physical",
"connection",
"terminates",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"aws",
"device",
"v",
"2",
";"
] |
[
"<",
"p",
">",
"the",
"direct",
"connect",
"endpoint",
"on",
"which",
"the",
"physical",
"connection",
"terminates",
"<",
"/",
"p",
">"
] | [
"set",
"aws",
"device",
"v",
"2",
"(",
"aws",
"device",
"v",
"2",
")",
";",
"return",
"this",
";"
] |
[
"this",
"and",
"the",
"following",
"methods",
"are",
"public",
"for",
"external",
"monitoring",
"purposes"
] | [
"return",
"allocated",
"buffers",
"get",
"(",
")",
";"
] |
[
"returns",
"a",
"string",
"filled",
"with",
"(",
"deterministic",
")",
"random",
"characters",
"to",
"get",
"a",
"string",
"that",
"won",
"t",
"compress",
"to",
"a",
"tiny",
"size"
] | [
"string",
"builder",
"sb",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"random",
"random",
"=",
"new",
"random",
"(",
"0",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"16",
"*",
"1024",
";",
"+",
"+",
"i",
")",
"{",
"char",... |
[
"sets",
"the",
"primary",
"key",
"field",
"for",
"the",
"given",
"class",
"<",
"p",
">",
"note",
":",
"the",
"search",
"index",
"has",
"to",
"be",
"added",
"to",
"the",
"field",
"before",
"calling",
"this",
"method"
] | [
"native",
"set",
"primary",
"key",
"for",
"object",
"(",
"shared",
"realm",
"get",
"native",
"ptr",
"(",
")",
",",
"class",
"name",
",",
"primary",
"key",
"field",
"name",
")",
";"
] |
[
"sets",
"the",
"schema",
"version",
"to",
"the",
"given",
"{"
] | [
"native",
"set",
"schema",
"version",
"(",
"shared",
"realm",
"get",
"native",
"ptr",
"(",
")",
",",
"schema",
"version",
")",
";"
] |
[
"returns",
"the",
"schema",
"version",
"of",
"the",
"given",
"{"
] | [
"return",
"native",
"get",
"schema",
"version",
"(",
"shared",
"realm",
"get",
"native",
"ptr",
"(",
")",
")",
";"
] |
[
"deletes",
"the",
"table",
"with",
"the",
"given",
"class",
"name"
] | [
"return",
"native",
"delete",
"table",
"for",
"object",
"(",
"shared",
"realm",
"get",
"native",
"ptr",
"(",
")",
",",
"class",
"name",
")",
";"
] |
[
"try",
"to",
"grab",
"an",
"exclusive",
"lock",
"on",
"the",
"given",
"realm",
"file",
"if",
"the",
"lock",
"can",
"be",
"acquired",
"the",
"{",
"@",
"code",
"runnable",
"}",
"will",
"be",
"executed",
"while",
"the",
"lock",
"is",
"held",
"the",
"lock"... | [
"return",
"native",
"call",
"with",
"lock",
"(",
"configuration",
"get",
"path",
"(",
")",
",",
"runnable",
")",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"data",
"start",
"timer",
"(",
"get",
"class",
"(",
")",
"get",
"simple",
"name",
"(",
")",
")",
";",
"int",
"percent",
"=",
"0",
";",
"for",
"(",
"data",
"cycles",
"done",
"=",
"0",
";",
"data",
"cycles",
"done",
"<",
"data",
"cycles",
";",
"+",... |
[
"from",
"a",
"string",
"which",
"columns",
"names",
"(",
"including",
"hive",
"column",
")",
"return",
"a",
"list",
"of",
"string",
"columns"
] | [
"return",
"(",
"list",
"<",
"string",
">",
")",
"virtual",
"column",
"remove",
"virtual",
"columns",
"(",
"string",
"utils",
"get",
"string",
"collection",
"(",
"columns",
")",
")",
";"
] |
[
"returns",
"a",
"list",
"of",
"type",
"info",
"objects",
"from",
"a",
"string",
"which",
"contains",
"column",
"types",
"strings"
] | [
"return",
"type",
"info",
"utils",
"get",
"type",
"infos",
"from",
"type",
"string",
"(",
"types",
")",
";"
] |
[
"searchs",
"for",
"a",
"field",
"name",
"into",
"a",
"parquet",
"group",
"type",
"by",
"ignoring",
"string",
"case",
"group",
"type",
"#",
"get",
"type",
"(",
"string",
"field",
"name",
")",
"is",
"case",
"sensitive",
"so",
"we",
"use",
"this",
"method"
... | [
"for",
"(",
"type",
"type",
":",
"group",
"type",
"get",
"fields",
"(",
")",
")",
"{",
"if",
"(",
"type",
"get",
"name",
"(",
")",
"equals",
"ignore",
"case",
"(",
"field",
"name",
")",
")",
"{",
"return",
"type",
";",
"}",
"}",
"return",
"null",... |
[
"searchs",
"column",
"names",
"by",
"name",
"on",
"a",
"given",
"parquet",
"schema",
"and",
"returns",
"its",
"corresponded",
"parquet",
"schema",
"types"
] | [
"list",
"<",
"type",
">",
"schema",
"types",
"=",
"new",
"array",
"list",
"<",
"type",
">",
"(",
")",
";",
"list",
"iterator",
"<",
"string",
">",
"column",
"iterator",
"=",
"col",
"names",
"list",
"iterator",
"(",
")",
";",
"while",
"(",
"column",
... |
[
"searches",
"column",
"names",
"by",
"name",
"on",
"a",
"given",
"parquet",
"message",
"schema",
"and",
"returns",
"its",
"projected",
"parquet",
"schema",
"types"
] | [
"list",
"<",
"type",
">",
"projected",
"fields",
"=",
"get",
"projected",
"group",
"fields",
"(",
"schema",
",",
"col",
"names",
",",
"col",
"types",
")",
";",
"type",
"[",
"]",
"types",
"array",
"=",
"projected",
"fields",
"to",
"array",
"(",
"new",
... |
[
"return",
"the",
"columns",
"which",
"contains",
"required",
"nested",
"attribute",
"level",
"e",
"g",
"given",
"struct",
"a",
":",
"<",
"x",
":",
"int",
"y",
":",
"int",
">",
"while",
"x",
"is",
"required",
"and",
"y",
"is",
"not",
"the",
"method",
... | [
"map",
"<",
"string",
",",
"field",
"node",
">",
"res",
"map",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
")",
";",
"if",
"(",
"nested",
"col",
"paths",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"res",
"map",
";",
"}",
"for",
"(",
"string",
... |
[
"it",
"creates",
"the",
"read",
"context",
"for",
"parquet",
"side",
"with",
"the",
"requested",
"schema",
"during",
"the",
"init",
"phase"
] | [
"configuration",
"configuration",
"=",
"context",
"get",
"configuration",
"(",
")",
";",
"message",
"type",
"file",
"schema",
"=",
"context",
"get",
"file",
"schema",
"(",
")",
";",
"string",
"column",
"names",
"=",
"configuration",
"get",
"(",
"i",
"o",
"... |
[
"implementations",
"for",
"class",
"visitor"
] | [
"if",
"(",
"!",
"present",
"(",
"program",
"class",
"sub",
"classes",
")",
")",
"{",
"class",
"visitor",
"visit",
"program",
"class",
"(",
"program",
"class",
")",
";",
"}"
] |
[
"small",
"utility",
"methods"
] | [
"if",
"(",
"subclasses",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"for",
"(",
"int",
"index",
"=",
"0",
";",
"index",
"<",
"subclasses",
"length",
";",
"index",
"+",
"+",
")",
"{",
"if",
"(",
"subclasses",
"[",
"index",
"]",
"equa... |
[
"called",
"from",
"d",
"s",
"l",
"v",
"fragment",
"on",
"activity",
"created",
"(",
")",
"override",
"to",
"set",
"a",
"different",
"adapter"
] | [
"array",
"=",
"get",
"resources",
"(",
")",
"get",
"string",
"array",
"(",
"r",
"array",
"jazz",
"artist",
"names",
")",
";",
"list",
"=",
"new",
"array",
"list",
"<",
"string",
">",
"(",
"arrays",
"as",
"list",
"(",
"array",
")",
")",
";",
"adapte... |
[
"called",
"when",
"the",
"activity",
"is",
"first",
"created"
] | [
"m",
"dslv",
"=",
"(",
"drag",
"sort",
"list",
"view",
")",
"inflater",
"inflate",
"(",
"get",
"layout",
"(",
")",
",",
"container",
",",
"false",
")",
";",
"m",
"controller",
"=",
"build",
"controller",
"(",
"m",
"dslv",
")",
";",
"m",
"dslv",
"se... |
[
"<",
"p",
">",
"the",
"function",
"lambda",
"calls",
"to",
"begin",
"executing",
"your",
"function",
"<",
"/",
"p",
">"
] | [
"this",
"handler",
"=",
"handler",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"virtual",
"tape",
"for",
"which",
"the",
"recovery",
"point",
"was",
"retrieved",
"<",
"/",
"p",
">"
] | [
"set",
"tape",
"a",
"r",
"n",
"(",
"tape",
"a",
"r",
"n",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"default",
"settings",
"for",
"sending",
"sms",
"messages",
"from",
"your",
"account",
"you",
"can",
"set",
"values",
"for",
"the",
"following",
"attribute",
"names",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"mo... | [
"set",
"attributes",
"(",
"attributes",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"all",
"the",
"entries",
"added",
"into",
"attributes"
] | [
"this",
"attributes",
"=",
"null",
";",
"return",
"this",
";"
] |
[
"the",
"available",
"orientations",
"are",
"<",
"code",
">",
"orientation",
"horizontal",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"orientation",
"vertical",
"<",
"/",
"code",
">"
] | [
"return",
"orientation",
";"
] |
[
"the",
"available",
"orientations",
"are",
"<",
"code",
">",
"orientation",
"horizontal",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"orientation",
"vertical",
"<",
"/",
"code",
">"
] | [
"this",
"orientation",
"=",
"orientation",
";",
"return",
"this",
";"
] |
[
"the",
"available",
"anchor",
"factors",
"range",
"from",
"0",
"to",
"1",
"for",
"example",
"in",
"order",
"to",
"anchor",
"the",
"fold",
"on",
"the",
"left",
"the",
"anchor",
"factor",
"should",
"be",
"0"
] | [
"return",
"anchor",
"factor",
";"
] |
[
"the",
"available",
"anchor",
"factors",
"range",
"from",
"0",
"to",
"1",
"for",
"example",
"in",
"order",
"to",
"anchor",
"the",
"fold",
"at",
"the",
"top",
"the",
"anchor",
"factor",
"should",
"be",
"0"
] | [
"this",
"anchor",
"factor",
"=",
"anchor",
"factor",
";",
"return",
"this",
";"
] |
[
"wraps",
"potential",
"{",
"@",
"link",
"java",
"nio",
"file",
"invalid",
"path",
"exception",
"}",
"thrown",
"by",
"{",
"@",
"link",
"file",
"#",
"to",
"path",
"(",
")",
"}",
"in",
"an",
"{",
"@",
"link",
"i",
"o",
"exception",
"}",
"for",
"backwa... | [
"try",
"{",
"return",
"file",
"to",
"path",
"(",
")",
";",
"}",
"catch",
"(",
"invalid",
"path",
"exception",
"e",
")",
"{",
"throw",
"new",
"i",
"o",
"exception",
"(",
"e",
")",
";",
"}"
] |
[
"when",
"the",
"write",
"operation",
"failed",
"call",
"this",
"method",
"to",
"leave",
"the",
"original",
"file",
"intact",
"and",
"remove",
"the",
"temporary",
"file",
"this",
"method",
"can",
"be",
"safely",
"invoked",
"from",
"the",
"finally",
"block",
"... | [
"close",
"and",
"delete",
"temp",
"file",
"(",
")",
";"
] |
[
"until",
"the",
"data",
"is",
"committed",
"this",
"file",
"captures",
"the",
"written",
"content"
] | [
"return",
"tmp",
"path",
"to",
"file",
"(",
")",
";"
] |
[
"until",
"the",
"data",
"is",
"committed",
"this",
"file",
"captures",
"the",
"written",
"content"
] | [
"return",
"tmp",
"path",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"data",
"store",
"<",
"/",
"p",
">"
] | [
"this",
"datastore",
"name",
"=",
"datastore",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"data",
"store",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"datastore",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"data",
"store",
"<",
"/",
"p",
">"
] | [
"set",
"datastore",
"name",
"(",
"datastore",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"true",
"additional",
"statistical",
"information",
"about",
"the",
"channel",
"is",
"included",
"in",
"the",
"response",
"<",
"/",
"p",
">"
] | [
"this",
"include",
"statistics",
"=",
"include",
"statistics",
";"
] |
[
"<",
"p",
">",
"if",
"true",
"additional",
"statistical",
"information",
"about",
"the",
"channel",
"is",
"included",
"in",
"the",
"response",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"include",
"statistics",
";"
] |
[
"<",
"p",
">",
"if",
"true",
"additional",
"statistical",
"information",
"about",
"the",
"datastore",
"is",
"included",
"in",
"the",
"response",
"<",
"/",
"p",
">"
] | [
"set",
"include",
"statistics",
"(",
"include",
"statistics",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"true",
"additional",
"statistical",
"information",
"about",
"the",
"channel",
"is",
"included",
"in",
"the",
"response",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"include",
"statistics",
";"
] |
[
"the",
"method",
"prepares",
"edges",
"for",
"the",
"given",
"indexes"
] | [
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"nodes",
"size",
"(",
")",
"-",
"1",
";",
"+",
"+",
"i",
")",
"{",
"if",
"(",
"edges",
"contains",
"key",
"(",
"nodes",
"get",
"(",
"i",
")",
")",
")",
"{",
"edges",
"get",
"(",
"nodes",
"g... |
[
"adds",
"edge",
"to",
"the",
"loop"
] | [
"if",
"(",
"nodes",
"contains",
"(",
"from",
")",
"&",
"&",
"nodes",
"contains",
"(",
"to",
")",
")",
"{",
"if",
"(",
"edges",
"contains",
"key",
"(",
"from",
")",
"&",
"&",
"!",
"edges",
"get",
"(",
"from",
")",
"contains",
"(",
"to",
")",
")"... |
[
"removes",
"edge",
"from",
"the",
"face",
"the",
"edge",
"is",
"removed",
"if",
"it",
"already",
"exists",
"in",
"the",
"face"
] | [
"boolean",
"edge",
"removed",
"=",
"false",
";",
"if",
"(",
"nodes",
"contains",
"(",
"node",
"1",
")",
"&",
"&",
"nodes",
"contains",
"(",
"node",
"2",
")",
")",
"{",
"if",
"(",
"edges",
"contains",
"key",
"(",
"node",
"1",
")",
")",
"{",
"edge"... |
[
"tells",
"if",
"the",
"given",
"indexes",
"are",
"neighbours"
] | [
"if",
"(",
"index",
"1",
"equals",
"(",
"index",
"2",
")",
"|",
"|",
"!",
"edges",
"contains",
"key",
"(",
"index",
"1",
")",
"|",
"|",
"!",
"edges",
"contains",
"key",
"(",
"index",
"2",
")",
")",
"{",
"return",
"false",
";",
"}",
"return",
"e... |
[
"returns",
"the",
"value",
"of",
"the",
"index",
"located",
"after",
"the",
"given",
"one",
"pointint",
"the",
"last",
"index",
"will",
"return",
"the",
"first",
"one"
] | [
"int",
"i",
"=",
"nodes",
"index",
"of",
"(",
"index",
")",
";",
"return",
"i",
"=",
"=",
"nodes",
"size",
"(",
")",
"-",
"1",
"?",
"nodes",
"get",
"(",
"0",
")",
":",
"nodes",
"get",
"(",
"i",
"+",
"1",
")",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"index",
"located",
"before",
"the",
"given",
"one",
"pointint",
"the",
"first",
"index",
"will",
"return",
"the",
"last",
"one"
] | [
"int",
"i",
"=",
"nodes",
"index",
"of",
"(",
"index",
")",
";",
"return",
"i",
"=",
"=",
"0",
"?",
"nodes",
"get",
"(",
"nodes",
"size",
"(",
")",
"-",
"1",
")",
":",
"nodes",
"get",
"(",
"i",
"-",
"1",
")",
";"
] |
[
"the",
"method",
"shifts",
"all",
"indexes",
"by",
"a",
"given",
"value"
] | [
"if",
"(",
"predicate",
"=",
"=",
"null",
")",
"{",
"predicate",
"=",
"index",
"predicate",
"use",
"all",
";",
"}",
"list",
"<",
"integer",
">",
"nodes",
"=",
"new",
"array",
"list",
"<",
"integer",
">",
"(",
"this",
"nodes",
"size",
"(",
")",
")",... |
[
"reverses",
"the",
"order",
"of",
"the",
"indexes"
] | [
"collections",
"reverse",
"(",
"nodes",
")",
";",
"edges",
"clear",
"(",
")",
";",
"this",
"prepare",
"edges",
"(",
"nodes",
")",
";"
] |
[
"returns",
"the",
"neighbour",
"count",
"of",
"the",
"given",
"index"
] | [
"int",
"result",
"=",
"0",
";",
"if",
"(",
"edges",
"contains",
"key",
"(",
"index",
")",
")",
"{",
"result",
"=",
"edges",
"get",
"(",
"index",
")",
"size",
"(",
")",
";",
"for",
"(",
"list",
"<",
"integer",
">",
"neighbours",
":",
"edges",
"val... |
[
"returns",
"the",
"position",
"of",
"the",
"given",
"index",
"in",
"the",
"loop"
] | [
"return",
"nodes",
"index",
"of",
"(",
"index",
")",
";"
] |
[
"returns",
"the",
"index",
"at",
"the",
"given",
"position"
] | [
"return",
"nodes",
"get",
"(",
"index",
"position",
")",
";"
] |
[
"the",
"method",
"removes",
"all",
"given",
"indexes"
] | [
"for",
"(",
"integer",
"index",
":",
"indexes",
")",
"{",
"nodes",
"remove",
"(",
"index",
")",
";",
"edges",
"remove",
"(",
"index",
")",
";",
"for",
"(",
"list",
"<",
"integer",
">",
"neighbours",
":",
"edges",
"values",
"(",
")",
")",
"{",
"neig... |
[
"generated",
"unique",
"id",
"in",
"sequence",
"for",
"the",
"given",
"instance"
] | [
"return",
"string",
"value",
"of",
"(",
"sequence",
"get",
"and",
"increment",
"(",
")",
")",
";"
] |
[
"start",
"indexing",
"with",
"no",
"limit",
"to",
"the",
"number",
"of",
"documents"
] | [
"start",
"(",
"-",
"1",
")",
";"
] |
[
"pausing",
"indexing",
"by",
"setting",
"current",
"document",
"limit",
"to",
"0"
] | [
"available",
"budget",
"drain",
"permits",
"(",
")",
";",
"set",
"budget",
"(",
"0",
")",
";"
] |
[
"continue",
"indexing",
"after",
"it",
"has",
"paused",
"no",
"new",
"document",
"limit",
"will",
"be",
"set"
] | [
"continue",
"indexing",
"(",
"-",
"1",
")",
";"
] |
[
"continue",
"indexing",
"after",
"it",
"has",
"paused"
] | [
"set",
"budget",
"(",
"num",
"of",
"docs",
")",
";"
] |
[
"the",
"minimum",
"size",
"in",
"code",
"points",
"of",
"a",
"payload",
"field",
"in",
"the",
"indexed",
"documents"
] | [
"min",
"field",
"size",
"=",
"field",
"size",
";"
] |
[
"the",
"minimum",
"size",
"in",
"code",
"points",
"of",
"a",
"payload",
"field",
"in",
"the",
"indexed",
"documents"
] | [
"max",
"field",
"size",
"=",
"field",
"size",
";"
] |
[
"returns",
"the",
"id",
"set",
"of",
"all",
"documents",
"indexed",
"by",
"this",
"indexer",
"run"
] | [
"return",
"this",
"ids",
";"
] |
[
"override",
"to",
"specify",
"that",
"this",
"object",
"needs",
"access",
"to",
"one",
"or",
"more",
"side",
"inputs",
"this",
"side",
"inputs",
"must",
"be",
"globally",
"windowed",
"as",
"they",
"will",
"be",
"accessed",
"from",
"the",
"global",
"window"
] | [
"return",
"immutable",
"list",
"of",
"(",
")",
";"
] |
[
"convert",
"an",
"input",
"record",
"type",
"into",
"the",
"output",
"type"
] | [
"public",
"abstract",
"output",
"t",
"format",
"record",
"(",
"user",
"t",
"record",
")",
";"
] |
[
"returns",
"an",
"object",
"that",
"represents",
"at",
"a",
"high",
"level",
"the",
"destination",
"being",
"written",
"to",
"may",
"not",
"return",
"null",
"a",
"destination",
"must",
"have",
"deterministic",
"hash",
"and",
"equality",
"methods",
"defined"
] | [
"public",
"abstract",
"destination",
"t",
"get",
"destination",
"(",
"user",
"t",
"element",
")",
";"
] |
[
"returns",
"the",
"default",
"destination",
"this",
"is",
"used",
"for",
"collections",
"that",
"have",
"no",
"elements",
"as",
"the",
"destination",
"to",
"write",
"empty",
"files",
"to"
] | [
"public",
"abstract",
"destination",
"t",
"get",
"default",
"destination",
"(",
")",
";"
] |
[
"returns",
"the",
"coder",
"for",
"{"
] | [
"return",
"null",
";"
] |
[
"converts",
"a",
"destination",
"into",
"a",
"{"
] | [
"public",
"abstract",
"filename",
"policy",
"get",
"filename",
"policy",
"(",
"destination",
"t",
"destination",
")",
";"
] |
[
"{",
"@",
"inherit",
"doc",
"}"
] | [] |
[
"when",
"a",
"sink",
"has",
"requested",
"windowed",
"or",
"triggered",
"output",
"this",
"method",
"will",
"be",
"invoked",
"to",
"return",
"the",
"file",
"{",
"@",
"link",
"resource",
"id",
"resource",
"}",
"to",
"be",
"created",
"given",
"the",
"base",
... | [
"@",
"experimental",
"(",
"kind",
"filesystem",
")",
"public",
"abstract",
"resource",
"id",
"windowed",
"filename",
"(",
"int",
"shard",
"number",
",",
"int",
"num",
"shards",
",",
"bounded",
"window",
"window",
",",
"pane",
"info",
"pane",
"info",
",",
"... |
[
"when",
"a",
"sink",
"has",
"not",
"requested",
"windowed",
"or",
"triggered",
"output",
"this",
"method",
"will",
"be",
"invoked",
"to",
"return",
"the",
"file",
"{",
"@",
"link",
"resource",
"id",
"resource",
"}",
"to",
"be",
"created",
"given",
"the",
... | [
"@",
"experimental",
"(",
"kind",
"filesystem",
")",
"@",
"nullable",
"public",
"abstract",
"resource",
"id",
"unwindowed",
"filename",
"(",
"int",
"shard",
"number",
",",
"int",
"num",
"shards",
",",
"output",
"file",
"hints",
"output",
"file",
"hints",
")"... |
[
"populates",
"the",
"display",
"data"
] | [] |
[
"returns",
"the",
"directory",
"inside",
"which",
"temprary",
"files",
"will",
"be",
"written",
"according",
"to",
"the",
"configured",
"{"
] | [
"return",
"temp",
"directory",
"provider",
";"
] |
[
"return",
"a",
"subclass",
"of",
"{"
] | [
"public",
"abstract",
"write",
"operation",
"<",
"destination",
"t",
",",
"output",
"t",
">",
"create",
"write",
"operation",
"(",
")",
";"
] |
[
"constructs",
"a",
"temporary",
"file",
"resource",
"given",
"the",
"temporary",
"directory",
"and",
"a",
"filename"
] | [
"return",
"temp",
"directory",
"resolve",
"(",
"filename",
",",
"standard",
"resolve",
"options",
"resolve",
"file",
")",
";"
] |
[
"clients",
"must",
"implement",
"to",
"return",
"a",
"subclass",
"of",
"{"
] | [
"public",
"abstract",
"writer",
"<",
"destination",
"t",
",",
"output",
"t",
">",
"create",
"writer",
"(",
")",
"throws",
"exception",
";"
] |
[
"indicates",
"that",
"the",
"operation",
"will",
"be",
"performing",
"windowed",
"writes"
] | [
"this",
"windowed",
"writes",
"=",
"windowed",
"writes",
";"
] |
[
"/",
"*",
"remove",
"temporary",
"files",
"after",
"finalization"
] | [
"remove",
"temporary",
"files",
"(",
"filenames",
",",
"!",
"windowed",
"writes",
")",
";"
] |
[
"returns",
"the",
"file",
"based",
"sink",
"for",
"this",
"write",
"operation"
] | [
"return",
"sink",
";"
] |
[
"returns",
"the",
"{"
] | [
"return",
"writable",
"byte",
"channel",
"factory",
";"
] |
[
"called",
"with",
"the",
"channel",
"that",
"a",
"subclass",
"will",
"write",
"its",
"header",
"footer",
"and",
"values",
"to",
"subclasses",
"should",
"either",
"keep",
"a",
"reference",
"to",
"the",
"channel",
"provided",
"or",
"create",
"and",
"keep",
"a"... | [
"protected",
"abstract",
"void",
"prepare",
"write",
"(",
"writable",
"byte",
"channel",
"channel",
")",
"throws",
"exception",
";"
] |
[
"writes",
"header",
"at",
"the",
"beginning",
"of",
"output",
"files",
"nothing",
"by",
"default",
";",
"subclasses",
"may",
"override"
] | [] |
[
"writes",
"footer",
"at",
"the",
"end",
"of",
"output",
"files",
"nothing",
"by",
"default",
";",
"subclasses",
"may",
"override"
] | [] |
[
"called",
"after",
"all",
"calls",
"to",
"{"
] | [] |
[
"called",
"for",
"each",
"value",
"in",
"the",
"bundle"
] | [
"public",
"abstract",
"void",
"write",
"(",
"output",
"t",
"value",
")",
"throws",
"exception",
";"
] |
[
"return",
"the",
"write",
"operation",
"that",
"this",
"writer",
"belongs",
"to"
] | [
"return",
"write",
"operation",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.